public interface JpowerBaseMapper<T>
extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T>
这个 Mapper 支持 id 泛型
| 限定符和类型 | 方法和说明 |
|---|---|
int |
deleteReal(com.baomidou.mybatisplus.core.conditions.Wrapper<T> wrapper)
根据 entity 条件,删除记录
|
int |
deleteRealBatchIds(Collection<? extends Serializable> idList)
删除(根据ID 批量删除)
|
int |
deleteRealById(Serializable id)
根据 ID 真实删除
|
int |
deleteRealByMap(Map<String,Object> columnMap)
根据 columnMap 条件,删除记录
|
int |
insertBatchSomeColumn(List<T> entityList)
批量新增指定列
|
int |
updateAllById(T entity)
根据 ID 更新所有列
|
delete, deleteBatchIds, deleteById, deleteById, deleteByMap, exists, insert, selectBatchIds, selectBatchIds, selectById, selectByMap, selectByMap, selectCount, selectList, selectList, selectList, selectList, selectMaps, selectMaps, selectMaps, selectMaps, selectMapsPage, selectObjs, selectObjs, selectOne, selectOne, selectPage, update, update, updateByIdint updateAllById(@Param(value="et")
T entity)
entity - 实体对象int deleteRealById(Serializable id)
id - 主键IDint deleteRealByMap(@Param(value="cm")
Map<String,Object> columnMap)
columnMap - 表字段 map 对象int deleteReal(@Param(value="ew")
com.baomidou.mybatisplus.core.conditions.Wrapper<T> wrapper)
wrapper - 实体对象封装操作类(可以为 null)int deleteRealBatchIds(@Param(value="coll")
Collection<? extends Serializable> idList)
idList - 主键ID列表(不能为 null 以及 empty)Copyright © 2024. All rights reserved.