类 BaseServiceImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>,E extends T,T>
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,E>
cn.iosd.starter.datasource.base.BaseServiceImpl<M,E,T>
- 类型参数:
T- 实体
- 所有已实现的接口:
ICrudService<T>,com.baomidou.mybatisplus.extension.service.IService<E>
@Primary
@Component
public class BaseServiceImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>,E extends T,T>
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,E>
implements ICrudService<T>
单表CURD服务DB实现类
- 作者:
- ok1996
-
字段概要
从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapper, entityClass, log, mapperClass, typeArguments从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE -
构造器概要
构造器 -
方法概要
从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchById从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
count, count, exists, getById, getOne, 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, removeBatchByIds, removeBatchByIds, removeById, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById
-
构造器详细资料
-
BaseServiceImpl
public BaseServiceImpl()
-
-
方法详细资料
-
apiSave
- 指定者:
apiSave在接口中ICrudService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>>
-
apiUpdateById
- 指定者:
apiUpdateById在接口中ICrudService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>>
-
apiRemoveById
- 指定者:
apiRemoveById在接口中ICrudService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>>
-
apiGetById
- 指定者:
apiGetById在接口中ICrudService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>>
-
apiList
- 指定者:
apiList在接口中ICrudService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>>
-
apiCount
- 指定者:
apiCount在接口中ICrudService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<E>>
-