public interface DictService extends com.baomidou.mybatisplus.extension.service.IService<SysDict>, DictApi
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(DictRequest dictRequest)
新增字典
|
void |
batchDelete(DictRequest dictRequest)
批量删除字典
|
void |
del(DictRequest dictRequest)
删除字典
|
SysDict |
detail(DictRequest dictRequest)
查询字典详情
|
void |
edit(DictRequest dictRequest)
修改字典
|
List<SysDict> |
findList(DictRequest dictRequest)
获取平铺(展开)结构的字典列表
本接口可能会传字典类型id,或者字典类型编码,或者searchText
|
String |
getPinyin(String name)
通用获取中文拼音
|
List<TreeDictInfo> |
getTreeDictList(DictRequest dictRequest)
获取树形字典列表
|
void |
removeByDictTypeId(Long dictTypeId)
删除字典类型下的所有字典
|
void |
updateDictTree(DictRequest dictRequest)
更新整个字典树结构,用来更新上下级结构和顺序
|
count, count, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, ktQuery, ktUpdate, lambdaQuery, 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, updateByIddeleteByDictId, getDictByDictId, getDictDetailsByDictTypeCode, getDictName, getDictNameByDictId, simpleAddDict, simpleEditDictList<TreeDictInfo> getTreeDictList(DictRequest dictRequest)
void add(DictRequest dictRequest)
dictRequest - 字典对象void del(DictRequest dictRequest)
dictRequest - 字典对象void batchDelete(DictRequest dictRequest)
void edit(DictRequest dictRequest)
dictRequest - 字典对象SysDict detail(DictRequest dictRequest)
dictRequest - 字典idList<SysDict> findList(DictRequest dictRequest)
本接口可能会传字典类型id,或者字典类型编码,或者searchText
void removeByDictTypeId(Long dictTypeId)
void updateDictTree(DictRequest dictRequest)
Copyright © 2024. All rights reserved.