类 BaseServiceImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>
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>
com.hengyi.xbaseweb.system.service.base.BaseServiceImpl<M,T>
- 所有已实现的接口:
com.baomidou.mybatisplus.extension.repository.IRepository<T>,com.baomidou.mybatisplus.extension.service.IService<T>,IBaseService<T>
- 直接已知子类:
AddressServiceImpl,AdvertServiceImpl,AppServiceImpl,AppVersionServiceImpl,ArticleCategoryServiceImpl,ArticleServiceImpl,CodeGeneratorServiceImpl,DataSourceServiceImpl,DeptServiceImpl,DictDataServiceImpl,LoginLogServiceImpl,MessageServiceImpl,OrderServiceImpl,PostServiceImpl,UserDetailServiceImpl,WxUserBindServiceImpl
public class BaseServiceImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
implements IBaseService<T>
-
字段概要
字段从类继承的字段 com.baomidou.mybatisplus.extension.repository.CrudRepository
baseMapper从类继承的字段 com.baomidou.mybatisplus.extension.repository.AbstractRepository
log从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getMessage(String code) getMessage(String code, Object... params) getToken()获取TOKEN的方式也是不仅仅是url 可能是headerboolean保存booleansaveBatch(Collection<T> entityList, int batchSize) 批量保存booleansaveOrUpdate(T entity) 保存或更新booleansaveOrUpdateBatch(Collection<T> entityList, int batchSize) 批量保存或更新success()booleanupdateBatchById(Collection<T> entityList, int batchSize) 批量更新booleanupdateById(T entity) 更新从类继承的方法 com.baomidou.mybatisplus.extension.repository.CrudRepository
getBaseMapper, getSqlStatement从类继承的方法 com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById从类继承的方法 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, getEntityClass, 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, update, update, update从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
字段详细资料
-
request
@Autowired public jakarta.servlet.http.HttpServletRequest request -
userSessionService
-
-
构造器详细资料
-
BaseServiceImpl
public BaseServiceImpl()
-
-
方法详细资料
-
getMessage
-
getMessage
-
success
-
success
-
error
-
error
-
toResult
-
toResult
-
getCurrentUser
-
getCurrentUserId
-
getCurrentDeptId
-
getCurrentUsername
-
getToken
获取TOKEN的方式也是不仅仅是url 可能是header- 返回:
-
save
从接口复制的说明:IBaseService保存 -
saveBatch
从接口复制的说明:IBaseService批量保存- 指定者:
saveBatch在接口中IBaseService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 指定者:
saveBatch在接口中com.baomidou.mybatisplus.extension.repository.IRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 覆盖:
saveBatch在类中com.baomidou.mybatisplus.extension.repository.CrudRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>
-
updateById
从接口复制的说明:IBaseService更新- 指定者:
updateById在接口中IBaseService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 指定者:
updateById在接口中com.baomidou.mybatisplus.extension.repository.IRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>
-
updateBatchById
从接口复制的说明:IBaseService批量更新- 指定者:
updateBatchById在接口中IBaseService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 指定者:
updateBatchById在接口中com.baomidou.mybatisplus.extension.repository.IRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 覆盖:
updateBatchById在类中com.baomidou.mybatisplus.extension.repository.CrudRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>
-
saveOrUpdate
从接口复制的说明:IBaseService保存或更新- 指定者:
saveOrUpdate在接口中IBaseService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 指定者:
saveOrUpdate在接口中com.baomidou.mybatisplus.extension.repository.IRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 覆盖:
saveOrUpdate在类中com.baomidou.mybatisplus.extension.repository.AbstractRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>
-
saveOrUpdateBatch
从接口复制的说明:IBaseService批量保存或更新- 指定者:
saveOrUpdateBatch在接口中IBaseService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 指定者:
saveOrUpdateBatch在接口中com.baomidou.mybatisplus.extension.repository.IRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>- 覆盖:
saveOrUpdateBatch在类中com.baomidou.mybatisplus.extension.repository.CrudRepository<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>
-