浏览代码

开单合理性测试

zhoutg 4 年之前
父节点
当前提交
e2cdf701df

+ 1 - 1
src/main/java/com/diagbot/aggregate/IndicationTestAggregate.java

@@ -95,7 +95,7 @@ public class IndicationTestAggregate {
         TestLineVO testLineVO = new TestLineVO();
         testLineVO.setGetOne(true);
         Map<String, Object> billMap = testFacade.importExcel(file, testLineVO);
-        map.putAll(billMap);
+        map.put("【开单合理性】",billMap);
 
         file = testFacade.getMulFileByPath(mapPath.get("【其他值提醒_化验】"));
         Map<String, Object> otherLisMap = testFacade.testOtherTipLis(file, new TestLineVO());

+ 11 - 5
src/main/java/com/diagbot/facade/TestFacade.java

@@ -341,7 +341,7 @@ public class TestFacade {
             indicationPushVOList.add(indicationPushVO);
         }
 
-        Map<String, Object> map = getDebugMap(indicationPushVOList, "3", start);
+        Map<String, Object> map = getDebugMapMulti(indicationPushVOList, "3", start);
         return map;
     }
 
@@ -540,7 +540,7 @@ public class TestFacade {
             indicationPushVOList.add(indicationPushVO);
         }
 
-        Map<String, Object> map = getDebugMap(indicationPushVOList, "3", start);
+        Map<String, Object> map = getDebugMapMulti(indicationPushVOList, "3", start);
         return map;
     }
 
@@ -957,8 +957,12 @@ public class TestFacade {
         }
         map.put("总条数", indicationPushVOList.size() + "条");
         map.put("出错条数", msg.size() + "条");
-        map.put("出错信息", msg);
-        map.put("程序报错", errMsg);
+        if (ListUtil.isNotEmpty(msg)) {
+            map.put("出错信息", msg);
+        }
+        if (ListUtil.isNotEmpty(errMsg)) {
+            map.put("程序报错", errMsg);
+        }
         map.put("执行时间", (System.currentTimeMillis() - start) / 1000.0 + "秒");
         return map;
     }
@@ -1001,7 +1005,9 @@ public class TestFacade {
                 }
             }
             map.put("总条数", indicationPushVOList.size() + "条");
-            map.put("出错信息", errMsg);
+            if (ListUtil.isNotEmpty(errMsg)) {
+                map.put("出错信息", errMsg);
+            }
             map.put("出错条数", errMsg.size() + "条");
             Long t2 = System.currentTimeMillis();
             map.put("执行时间", (t2 - start) / 1000.0 + "秒");