|
|
|
@ -78,7 +78,8 @@ public class SystemInitService implements ISystemInitService {
|
|
|
|
|
try {
|
|
|
|
|
List<SysDictionary> list = dictionaryRDao.findAll();
|
|
|
|
|
if(list != null && list.size() > 0){
|
|
|
|
|
Map<String, List<SysDictionary>> parentCodeMap = list.stream().collect(Collectors.groupingBy(SysDictionary::getParentCodeRdd));
|
|
|
|
|
list.stream().filter(sysDictionary-> sysDictionary.getParentCodeRdd() != null).forEach(System.out :: print);
|
|
|
|
|
Map<String, List<SysDictionary>> parentCodeMap = list.stream().filter(sysDictionary-> sysDictionary.getParentCodeRdd() != null).collect(Collectors.groupingBy(SysDictionary::getParentCodeRdd));
|
|
|
|
|
Map<Long, List<SysDictionary>> parentIdMap = list.stream().collect(Collectors.groupingBy(SysDictionary::getParentId));
|
|
|
|
|
|
|
|
|
|
for (String key : parentCodeMap.keySet()) {
|
|
|
|
|