From 7a843abf2b536454171cec1f664f59cc0fcab6ca Mon Sep 17 00:00:00 2001 From: wyb <1977763549@qq.com> Date: Fri, 28 Jul 2023 16:33:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E9=99=A2=E6=8F=90=E7=A4=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/message/busservice/impl/SdBusinessServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/docus/server/message/busservice/impl/SdBusinessServiceImpl.java b/src/main/java/com/docus/server/message/busservice/impl/SdBusinessServiceImpl.java index 296e53c..9546f44 100644 --- a/src/main/java/com/docus/server/message/busservice/impl/SdBusinessServiceImpl.java +++ b/src/main/java/com/docus/server/message/busservice/impl/SdBusinessServiceImpl.java @@ -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("该患者为在院状态,请在患者出院后提交!"); } }