@Service public class DictServiceImpl extends com.baomidou.mybatisplus.service.impl.ServiceImpl<DictMapper,Dict> implements IDictService
| Constructor and Description |
|---|
DictServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDict(String dictCode,
String dictName,
String dictTips,
String dictValues)
添加字典
|
void |
delteDict(Integer dictId)
删除字典
|
void |
editDict(Integer dictId,
String dictCode,
String dictName,
String dictTips,
String dicts)
编辑字典
|
List<Map<String,Object>> |
list(String conditiion)
查询字典列表
|
List<Dict> |
selectByCode(String code)
根据编码获取词典列表
|
List<Dict> |
selectByParentCode(String code)
根据父类编码获取词典列表
|
currentModelClass, delete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, retBool, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, sqlSessionBatch, sqlStatement, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, deleteBatchIds, deleteById, deleteByMap, insert, insertAllColumn, insertBatch, insertBatch, insertOrUpdate, insertOrUpdateAllColumn, insertOrUpdateAllColumnBatch, insertOrUpdateAllColumnBatch, insertOrUpdateBatch, insertOrUpdateBatch, selectBatchIds, selectById, selectByMap, selectCount, selectList, selectMap, selectMaps, selectMapsPage, selectObj, selectObjs, selectOne, selectPage, selectPage, update, updateAllColumnBatchById, updateAllColumnBatchById, updateAllColumnById, updateBatchById, updateBatchById, updateById, updateForSet@Transactional public void addDict(String dictCode, String dictName, String dictTips, String dictValues)
IDictServiceaddDict in interface IDictService@Transactional public void editDict(Integer dictId, String dictCode, String dictName, String dictTips, String dicts)
IDictServiceeditDict in interface IDictService@Transactional public void delteDict(Integer dictId)
IDictServicedelteDict in interface IDictServicepublic List<Dict> selectByCode(String code)
IDictServiceselectByCode in interface IDictServicepublic List<Dict> selectByParentCode(String code)
IDictServiceselectByParentCode in interface IDictServicepublic List<Map<String,Object>> list(String conditiion)
IDictServicelist in interface IDictServiceCopyright © 2018. All rights reserved.