public class JoinServiceImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T>
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
| Constructor and Description |
|---|
JoinServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
<VO extends T> |
getVoById(Serializable id,
Class<VO> clazz)
通过主键查询Vo
|
<VO extends T> |
listVoByIds(Collection<? extends Serializable> ids,
Class<VO> clazz)
主键查询实体Vo集合
|
<E extends com.baomidou.mybatisplus.core.metadata.IPage<T>,VO extends T> |
pageVo(E page,
Class<VO> clazz)
分页查询实体对应的Vo
|
<E extends com.baomidou.mybatisplus.core.metadata.IPage<T>,VO extends T> |
pageVo(E page,
com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper,
Class<VO> clazz)
分页查询实体对应的Vo
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, getById, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateByIdpublic <VO extends T> VO getVoById(Serializable id, Class<VO> clazz)
VO - 实体Vo泛型id - 主键IDclazz - 实体Vo类实例对象public <VO extends T> List<VO> listVoByIds(Collection<? extends Serializable> ids, Class<VO> clazz)
VO - 实体Vo泛型ids - 主键ID集clazz - 实体Vo类实例对象public <E extends com.baomidou.mybatisplus.core.metadata.IPage<T>,VO extends T> com.baomidou.mybatisplus.core.metadata.IPage<VO> pageVo(E page, com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper, Class<VO> clazz)
E - 实体泛型VO - 实体Vo泛型page - 分页对象实例queryWrapper - 查询条件clazz - 实体VoCopyright © 2021. All rights reserved.