|
@@ -123,9 +123,11 @@ public class MRTestFacade {
|
|
throw new CommonException(CommonErrorCode.PARAM_IS_NULL, "请输入医院编码");
|
|
throw new CommonException(CommonErrorCode.PARAM_IS_NULL, "请输入医院编码");
|
|
}
|
|
}
|
|
RespDTO<ResponseDataWithExplainV2> res = null;
|
|
RespDTO<ResponseDataWithExplainV2> res = null;
|
|
|
|
+ int count = 0;
|
|
do {
|
|
do {
|
|
res = aiptServiceClient.pushWithExplainV2(assembleFacade.assembleData(aivo, type));
|
|
res = aiptServiceClient.pushWithExplainV2(assembleFacade.assembleData(aivo, type));
|
|
- } while (res == null || RespDTOUtil.respIsNG(res));
|
|
|
|
|
|
+ count++;
|
|
|
|
+ } while ((res == null || RespDTOUtil.respIsNG(res)||ListUtil.isEmpty(res.data.getDis())) && count <= 5);
|
|
|
|
|
|
List<FeatureRateV2> dis = res.data.getDis();
|
|
List<FeatureRateV2> dis = res.data.getDis();
|
|
if (ListUtil.isNotEmpty(dis)) {
|
|
if (ListUtil.isNotEmpty(dis)) {
|