|
|
|
|
@ -78,10 +78,11 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService { |
|
|
|
|
public List<SysDictData> selectDictDataByType(String dictType) { |
|
|
|
|
|
|
|
|
|
List<SysDictData> dictDatas = DictUtils.getDictCache(dictType); |
|
|
|
|
for (SysDictData dictData : dictDatas) { |
|
|
|
|
dictData.setDictLabel(MessageUtils.message(dictData.getDictLabel())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (StringUtils.isNotEmpty(dictDatas)) { |
|
|
|
|
for (SysDictData dictData : dictDatas) { |
|
|
|
|
dictData.setDictLabel(MessageUtils.message(dictData.getDictLabel())); |
|
|
|
|
} |
|
|
|
|
return dictDatas; |
|
|
|
|
} |
|
|
|
|
dictDatas = dictDataMapper.selectDictDataByType(dictType, SecurityUtils.getCurrentBranchId()); |
|
|
|
|
|