fix:修复判断质控失败

广东省中医_gdszy
wyb 2 years ago
parent 23da7cf02e
commit 89a45ea24e

@ -128,7 +128,8 @@ public class NisReportDownloadWaitHandler extends RedisKeyExpirationHandler {
CommonResult<String> result = medicalRecordService.cqcAudit(request);
log.info("{} 护理质控结果:{}", patientId, result);
if (!ResultCode.SUCCESS.getCode().equals(result.getCode())) {
// 就算是返回失败的code如果包含了 ‘当前节点不包含’,也算质控通过
if (!ResultCode.SUCCESS.getCode().equals(result.getCode()) && !result.getMsg().contains("当前节点不包含")) {
throw new BaseException(result.getMsg());
}
}

Loading…
Cancel
Save