public interface CnaworldBaseService<T>
extends com.baomidou.mybatisplus.extension.service.IService<T>
| 限定符和类型 | 方法和说明 |
|---|---|
default boolean |
directRemove(com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper)
根据 entity 条件,直接删除记录
|
default boolean |
directRemoveById(Serializable id)
根据 ID 直接删除
|
default boolean |
directRemoveByIds(Collection<? extends Serializable> idList)
根据IDS 批量直接删除
|
default boolean |
directRemoveByMap(Map<String,Object> columnMap)
根据 columnMap 条件,直接删除记录
|
default boolean |
restore(com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper)
根据 entity 条件,恢复记录
|
default boolean |
restoreById(Serializable id)
根据 ID 恢复
|
default boolean |
restoreByIds(Collection<? extends Serializable> idList)
恢复(根据ID 批量恢复)
|
default boolean |
restoreByMap(Map<String,Object> columnMap)
根据 columnMap 条件,恢复记录
|
count, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, 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, updateByIddefault boolean restore(com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper)
queryWrapper - 实体对象封装操作类(可以为 null,里面的 entity 用于生成 where 语句)default boolean restoreById(Serializable id)
id - 主键default boolean restoreByMap(Map<String,Object> columnMap)
columnMap - 表字段 map 对象default boolean restoreByIds(Collection<? extends Serializable> idList)
idList - idList 主键ID列表(不能为 null 以及 empty)default boolean directRemove(com.baomidou.mybatisplus.core.conditions.Wrapper<T> queryWrapper)
queryWrapper - 实体对象封装操作类(可以为 null,里面的 entity 用于生成 where 语句)default boolean directRemoveById(Serializable id)
id - 主键IDdefault boolean directRemoveByMap(Map<String,Object> columnMap)
columnMap - 表字段 map 对象default boolean directRemoveByIds(Collection<? extends Serializable> idList)
idList - 主键ID列表(不能为 null 以及 empty)Copyright © 2023. All rights reserved.