@Service public class DictServiceImpl extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<DictMapper,SysDict> implements DictService
| 构造器和说明 |
|---|
DictServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(DictRequest dictRequest)
新增字典
|
void |
del(DictRequest dictRequest)
删除字典
|
void |
deleteByDictId(Long dictId) |
SysDict |
detail(DictRequest dictRequest)
查询字典详情
|
void |
edit(DictRequest dictRequest)
修改字典
|
List<SysDict> |
findList(DictRequest dictRequest)
获取字典列表
|
cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<SysDict> |
findPage(DictRequest dictRequest)
获取字典列表(带分页)
|
List<SimpleDict> |
getDictDetailsByDictTypeCode(String dictTypeCode) |
String |
getDictName(String dictTypeCode,
String dictCode) |
List<TreeDictInfo> |
getTreeDictList(DictRequest dictRequest)
获取树形字典列表(antdv在用)
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, 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, updateById@Transactional(rollbackFor=java.lang.Exception.class) public void add(DictRequest dictRequest)
DictServiceadd 在接口中 DictServicedictRequest - 字典对象public void del(DictRequest dictRequest)
DictServicedel 在接口中 DictServicedictRequest - 字典对象@Transactional(rollbackFor=java.lang.Exception.class) public void edit(DictRequest dictRequest)
DictServiceedit 在接口中 DictServicedictRequest - 字典对象public SysDict detail(DictRequest dictRequest)
DictServicedetail 在接口中 DictServicedictRequest - 字典idpublic List<SysDict> findList(DictRequest dictRequest)
DictServicefindList 在接口中 DictServicedictRequest - 字典对象public cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult<SysDict> findPage(DictRequest dictRequest)
DictServicefindPage 在接口中 DictServicedictRequest - 查询条件public List<TreeDictInfo> getTreeDictList(DictRequest dictRequest)
DictServicegetTreeDictList 在接口中 DictServicedictRequest - 查询条件public String getDictName(String dictTypeCode, String dictCode)
getDictName 在接口中 DictApipublic List<SimpleDict> getDictDetailsByDictTypeCode(String dictTypeCode)
getDictDetailsByDictTypeCode 在接口中 DictApipublic void deleteByDictId(Long dictId)
deleteByDictId 在接口中 DictApiCopyright © 2022. All rights reserved.