Browse Source

自动化测试

zhaops 3 years ago
parent
commit
2fda710f34

+ 6 - 1
cdssman-service/src/main/java/com/diagbot/aggregate/CallIndicationAggregate.java

@@ -116,7 +116,12 @@ public class CallIndicationAggregate {
 
             RespDTO<IndicationDTO> respDTO = cdssCoreClient.indication(indicationPushVO);
             Integer callCount = 0;
-            while (callCount <= 3 && RespDTOUtil.respIsNG(respDTO)) {
+            while (callCount <= 3
+                    && (RespDTOUtil.respIsNG(respDTO)
+                    || (ListUtil.isEmpty(respDTO.data.getBillMsgList())
+                    && ListUtil.isEmpty(respDTO.data.getHighRiskList())
+                    && ListUtil.isEmpty(respDTO.data.getCriticalValList())
+                    && ListUtil.isEmpty(respDTO.data.getOtherList())))) {
                 respDTO = cdssCoreClient.indication(indicationPushVO);
                 callCount++;
             }