Browse Source

代码优化

wangyu 5 years ago
parent
commit
57c312ba11

+ 0 - 1
precman-service/src/main/java/com/diagbot/facade/ModuleInfoFacade.java

@@ -332,7 +332,6 @@ public class ModuleInfoFacade extends ModuleInfoServiceImpl {
                 .orderByDesc("order_no")
                 .notIn("val",types);
         List<DictionaryInfo> dictionaryInfoList = dictionaryFacade.list(dictionaryInfoQueryWrapper);
-        Map<String, DictionaryInfo> dictionaryInfoMap = dictionaryInfoList.stream().collect(Collectors.toMap(DictionaryInfo::getVal,dictionaryInfo -> dictionaryInfo));
         List<GetModuleTypeDTO> getModuleTypeDTOS = new ArrayList<>();
         for (DictionaryInfo dictionaryInfo : dictionaryInfoList) {
             GetModuleTypeDTO getModuleTypeDTO = new GetModuleTypeDTO();