|
|
|
@ -141,7 +141,8 @@ public class SysDictTypeServiceImpl implements ISysDictTypeService
|
|
|
|
|
SysDictData dictData = new SysDictData();
|
|
|
|
|
dictData.setStatus("0");
|
|
|
|
|
Map<String, List<SysDictData>> dictDataMap = dictDataMapper.selectDictDataList(dictData).stream().collect(Collectors.groupingBy(SysDictData::getDictType));
|
|
|
|
|
for (Map.Entry<String, List<SysDictData>> entry: dictDataMap.entrySet()) {
|
|
|
|
|
for (Map.Entry<String, List<SysDictData>> entry : dictDataMap.entrySet())
|
|
|
|
|
{
|
|
|
|
|
DictUtils.setDictCache(entry.getKey(), entry.getValue().stream().sorted(Comparator.comparing(SysDictData::getDictSort)).collect(Collectors.toList()));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|