M - Mapper 类型T - Entity 类型public class ServiceImpl<M extends BaseMapper<T>,T> extends Object implements IService<T>
IService 实现类。| Modifier and Type | Field and Description |
|---|---|
protected M |
mapper |
DEFAULT_BATCH_SIZE| Constructor and Description |
|---|
ServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
M |
getMapper()
获取对应实体类(Entity)的基础映射类(BaseMapper)。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, count, exists, exists, getByEntityIdOpt, getById, getByIdOpt, getObj, getObjAs, getObjAsOpt, getObjOpt, getOne, getOne, getOneAs, getOneAsOpt, getOneByEntityId, getOneOpt, getOneOpt, list, list, list, listAs, listByIds, listByMap, objList, objListAs, page, page, page, pageAs, query, queryChain, remove, remove, removeById, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatch, updateBatch, updateBatch, updateBatch, updateById, updateById, updateChain@Inject protected M extends BaseMapper<T> mapper
Copyright © 2024. All rights reserved.