类 SuperManagerImpl<M extends SuperMapper<T>,T>
java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
com.baomidou.mybatisplus.extension.repository.CrudRepository<M,T>
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
top.tangyh.basic.base.manager.impl.SuperManagerImpl<M,T>
- 类型参数:
M- MapperT- 实体
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.repository.IRepository<T>,com.baomidou.mybatisplus.extension.service.IService<T>,SuperManager<T>
- 直接已知子类:
SuperCacheManagerImpl
public class SuperManagerImpl<M extends SuperMapper<T>,T>
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
implements SuperManager<T>
不含缓存的Service实现
2,removeById:重写 ServiceImpl 类的方法,删除db 3,removeByIds:重写 ServiceImpl 类的方法,删除db 4,updateAllById: 新增的方法: 修改数据(所有字段) 5,updateById:重写 ServiceImpl 类的方法,修改db后
- 作者:
- zuihou
-
字段概要
从类继承的字段 com.baomidou.mybatisplus.extension.repository.CrudRepository
baseMapper从类继承的字段 com.baomidou.mybatisplus.extension.repository.AbstractRepository
log从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
构造器概要
构造器 -
方法概要
从类继承的方法 com.baomidou.mybatisplus.extension.repository.CrudRepository
getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchById从类继承的方法 com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdate从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository
count, count, exists, getBaseMapper, getById, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById从接口继承的方法 top.tangyh.basic.base.manager.SuperManager
saveBatchSomeColumn
-
构造器详细资料
-
SuperManagerImpl
public SuperManagerImpl()
-
-
方法详细资料
-
getSuperMapper
-
getEntityClass
从接口复制的说明:SuperManager获取实体的类型- 指定者:
getEntityClass在接口中com.baomidou.mybatisplus.extension.repository.IRepository<M extends SuperMapper<T>>- 指定者:
getEntityClass在接口中SuperManager<M extends SuperMapper<T>>- 覆盖:
getEntityClass在类中com.baomidou.mybatisplus.extension.repository.AbstractRepository<M extends SuperMapper<T>,T>
-
updateAllById
从接口复制的说明:SuperManager根据id修改 entity 的所有字段- 指定者:
updateAllById在接口中SuperManager<M extends SuperMapper<T>>- 返回:
-