public interface Manager<T>
extends com.baomidou.mybatisplus.extension.service.IService<T>
描述:业务类管理实体类接口
| 限定符和类型 | 方法和说明 |
|---|---|
void |
create(T entity)
创建实体对象
|
T |
get(String entityId)
按实体ID获取实体
|
List<T> |
query(QueryFilter queryFilter)
查询实体对象
|
void |
remove(String entityId)
按实体ID删除对象
|
void |
removeByIds(String... ids)
按实体IDs删除记录
|
void |
update(T entity)
更新实体对象
|
count, getById, getMap, getObj, getOne, getOne, list, listByIds, listByMap, listMaps, listObjs, page, pageMaps, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, updateBatchById, updateBatchById, updateByIdvoid create(T entity)
entity - void update(T entity)
entity - void remove(String entityId)
entityId - void removeByIds(String... ids)
ids - List<T> query(QueryFilter queryFilter)
queryFilter - Copyright © 2018. All rights reserved.