瀏覽代碼

全局统计的接口分开为9个

gaodm 5 年之前
父節點
當前提交
ea9cf8cacb
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/main/java/com/diagbot/facade/ConsoleFacade.java

+ 9 - 9
src/main/java/com/diagbot/facade/ConsoleFacade.java

@@ -233,9 +233,9 @@ public class ConsoleFacade {
     public Map<String, Object> entryCountGroupByCase(FilterVO filterVO) {
         Map<String, Object> retMap = new HashMap<>();
         filterVOSet(filterVO);
-        List<NumDTO> deptList = resultStatisticsAggregate.entryCountGroupByCase(filterVO);
-        if (ListUtil.isNotEmpty(deptList)) {
-            retMap.put("各科室缺陷占比", deptList);
+        List<NumDTO> caseList = resultStatisticsAggregate.entryCountGroupByCase(filterVO);
+        if (ListUtil.isNotEmpty(caseList)) {
+            retMap.put("各模块缺陷占比排行", caseList);
         }
         return retMap;
     }
@@ -249,9 +249,9 @@ public class ConsoleFacade {
     public Map<String, Object> entryCountGroupByEntry(FilterVO filterVO) {
         Map<String, Object> retMap = new HashMap<>();
         filterVOSet(filterVO);
-        List<NumDTO> caseList = resultStatisticsAggregate.entryCountGroupByEntry(filterVO);
-        if (ListUtil.isNotEmpty(caseList)) {
-            retMap.put("各模块缺陷占比排行", caseList);
+        List<NumDTO> entryList = resultStatisticsAggregate.entryCountGroupByEntry(filterVO);
+        if (ListUtil.isNotEmpty(entryList)) {
+            retMap.put("条目缺陷占比", entryList);
         }
         return retMap;
     }
@@ -265,9 +265,9 @@ public class ConsoleFacade {
     public Map<String, Object> entryByDept(FilterVO filterVO) {
         Map<String, Object> retMap = new HashMap<>();
         filterVOSet(filterVO);
-        List<NumDTO> entryList = resultStatisticsAggregate.entryByDept(filterVO);
-        if (ListUtil.isNotEmpty(entryList)) {
-            retMap.put("条目缺陷占比", entryList);
+        List<NumDTO> deptList = resultStatisticsAggregate.entryByDept(filterVO);
+        if (ListUtil.isNotEmpty(deptList)) {
+            retMap.put("各科室缺陷占比", deptList);
         }
         return retMap;
     }