根据字典类型编码获取所有的字典时返回字典id

pull/57/head
Liyanjun 2023-07-03 21:26:37 +08:00
parent a8440ea221
commit e9c6fcdb4d
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ public class DictServiceImpl extends ServiceImpl<DictMapper, SysDict> implements
SimpleDict simpleDict = new SimpleDict();
simpleDict.setCode(sysDict.getDictCode());
simpleDict.setName(sysDict.getDictName());
simpleDict.setId(sysDict.getDictId());
simpleDictList.add(simpleDict);
}