|
|
|
@ -112,7 +112,7 @@ public class SdBusinessServiceImpl implements SdBusinessService {
|
|
|
|
|
if (ResultCode.FAILED.getCode().equals(task.getCode())) {
|
|
|
|
|
String data = task.getData();
|
|
|
|
|
if (Func.isNotBlank(data) && data.contains("出院")) {
|
|
|
|
|
throw new BaseException("患者未出院!");
|
|
|
|
|
throw new BaseException("该患者为在院状态,请在患者出院后提交!");
|
|
|
|
|
}
|
|
|
|
|
throw new RuntimeException("补偿失败!");
|
|
|
|
|
}
|
|
|
|
@ -126,7 +126,7 @@ public class SdBusinessServiceImpl implements SdBusinessService {
|
|
|
|
|
throw new BaseException("住院号+住院次数 ,系统中患者有多个!");
|
|
|
|
|
}
|
|
|
|
|
if (!isDischarge(patientIds.get(0))) {
|
|
|
|
|
throw new BaseException("该患者未出院!");
|
|
|
|
|
throw new BaseException("该患者为在院状态,请在患者出院后提交!");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|