chendayu 2 年 前
コミット
eed3659d66
1 ファイル変更1 行追加1 行削除
  1. 1 1
      PAS/src/main/java/cn/cslg/pas/service/ProjectService.java

+ 1 - 1
PAS/src/main/java/cn/cslg/pas/service/ProjectService.java

@@ -350,7 +350,7 @@ public class ProjectService extends ServiceImpl<ProjectMapper, Project> {
         systemDictList.forEach(systemDict -> {
             switch (systemDict.getType()) {
                 case Constants.ENTERPRISE_APPLICATION_SCENARIO:
-                    scenario.put(systemDict.getLabel(), projectList.stream().filter(item ->item.getScenarioList()!=null && item.getScenarioList().contains(Integer.parseInt(systemDict.getValue()))).count());
+                    scenario.put(systemDict.getLabel(), projectList.stream().filter(item -> item.getScenarioList() != null && item.getScenarioList().contains(Integer.parseInt(systemDict.getValue()))).count());
                     break;
                 case Constants.INVESTIGATION_TYPE:
                     type.put(systemDict.getLabel(), projectList.stream().filter(item -> item.getTypeList().contains(Integer.parseInt(systemDict.getValue()))).count());