T - 实体public interface SuperService<T>
extends com.baomidou.mybatisplus.extension.service.IService<T>
| 限定符和类型 | 方法和说明 |
|---|---|
Class<T> |
getEntityClass()
获取实体的类型
|
default boolean |
saveBatchSomeColumn(List<T> entityList)
批量保存数据
注意:该方法仅仅测试过mysql
|
boolean |
updateAllById(T entity)
根据id修改 entity 的所有字段
|
count, count, getBaseMapper, getById, 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, updateByIdClass<T> getEntityClass()
getEntityClass 在接口中 com.baomidou.mybatisplus.extension.service.IService<T>default boolean saveBatchSomeColumn(List<T> entityList)
注意:该方法仅仅测试过mysql
entityList - boolean updateAllById(T entity)
entity - Copyright © 2022. All rights reserved.