类 BaseServiceImpl<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>,T extends BaseEntity>

java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
org.violet.common.mybatis.base.BaseServiceImpl<M,T>
类型参数:
M -
T -
所有已实现的接口:
com.baomidou.mybatisplus.extension.service.IService<T>, BaseService<T>

@Validated 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 BaseService<T>
实现类基类
  • 字段概要

    从类继承的字段 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl

    baseMapper, log

    从接口继承的字段 com.baomidou.mybatisplus.extension.service.IService

    DEFAULT_BATCH_SIZE
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    deleteLogic(@NotEmpty List<Long> ids)
    逻辑删除

    从类继承的方法 com.baomidou.mybatisplus.extension.service.impl.ServiceImpl

    closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, 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, 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, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
  • 构造器详细资料

    • BaseServiceImpl

      public BaseServiceImpl()
  • 方法详细资料

    • deleteLogic

      public boolean deleteLogic(@NotEmpty @NotEmpty List<Long> ids)
      从接口复制的说明: BaseService
      逻辑删除
      指定者:
      deleteLogic 在接口中 BaseService<M extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>>
      参数:
      ids - id集合(逗号分隔)
      返回:
      boolean