public class JoinServiceImpl<M extends JoinBaseMapper<T>,T> extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T> implements JoinIService<T>
| 限定符和类型 | 字段和说明 |
|---|---|
protected M |
joinMapper |
| 构造器和说明 |
|---|
JoinServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
M |
getBaseMapper() |
<E> int |
joinCount(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper)
查询count
|
<E,EV> EV |
joinGetOne(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper,
Class<EV> clz)
查询单个对象
|
protected JoinLambdaWrapper<T> |
joinLambdaQueryWrapper() |
protected <J> JoinLambdaWrapper<J> |
joinLambdaQueryWrapper(Class<J> clz) |
protected <J> JoinLambdaWrapper<J> |
joinLambdaQueryWrapper(Class<J> clz,
String alias) |
protected <J> JoinLambdaWrapper<J> |
joinLambdaQueryWrapper(J entity) |
protected <J> JoinLambdaWrapper<J> |
joinLambdaQueryWrapper(J entity,
String alias) |
protected JoinLambdaWrapper<T> |
joinLambdaQueryWrapper(String alias) |
<EV,E> List<EV> |
joinList(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper,
Class<EV> clz)
查询列表
|
<E extends com.baomidou.mybatisplus.core.metadata.IPage<EV>,EV,C> |
joinPage(E page,
com.baomidou.mybatisplus.core.conditions.Wrapper<C> wrapper,
Class<EV> clz)
翻页查询
|
protected com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper<T> |
lambdaQueryWrapper() |
protected com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper<T> |
lambdaUpdateWrapper() |
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getEntityClass, getMap, getObj, getOne, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById@Autowired protected M extends JoinBaseMapper<T> joinMapper
public M getBaseMapper()
getBaseMapper 在接口中 com.baomidou.mybatisplus.extension.service.IService<T>getBaseMapper 在类中 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M extends JoinBaseMapper<T>,T>public <EV,E> List<EV> joinList(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper, Class<EV> clz)
JoinIServicejoinList 在接口中 JoinIService<T>E - 返回泛型(如果只查询一个字段可以传递String Int之类的类型)wrapper - 实体对象封装操作类public <E,EV> EV joinGetOne(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper,
Class<EV> clz)
JoinIServicejoinGetOne 在接口中 JoinIService<T>E - 包装泛型类型EV - 返回类型泛型wrapper - 实体对象封装操作类clz - 返回对象 (如果只查询一个字段可以传递String Int之类的类型)public <E> int joinCount(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper)
JoinIServicejoinCount 在接口中 JoinIService<T>E - 返回泛型wrapper - 实体对象封装操作类public <E extends com.baomidou.mybatisplus.core.metadata.IPage<EV>,EV,C> E joinPage(E page,
com.baomidou.mybatisplus.core.conditions.Wrapper<C> wrapper,
Class<EV> clz)
JoinIServicejoinPage 在接口中 JoinIService<T>page - 翻页对象wrapper - 实体对象封装操作类protected com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper<T> lambdaQueryWrapper()
protected <J> JoinLambdaWrapper<J> joinLambdaQueryWrapper(Class<J> clz)
protected JoinLambdaWrapper<T> joinLambdaQueryWrapper()
protected <J> JoinLambdaWrapper<J> joinLambdaQueryWrapper(Class<J> clz, String alias)
protected JoinLambdaWrapper<T> joinLambdaQueryWrapper(String alias)
protected <J> JoinLambdaWrapper<J> joinLambdaQueryWrapper(J entity, String alias)
protected <J> JoinLambdaWrapper<J> joinLambdaQueryWrapper(J entity)
protected com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper<T> lambdaUpdateWrapper()
Copyright © 2024. All rights reserved.