From bc2574921e1dab509a75a7ae0cb40611c375b50f Mon Sep 17 00:00:00 2001 From: qiaoyuewang Date: Tue, 8 Apr 2025 20:15:51 +0800 Subject: [PATCH] =?UTF-8?q?11:=E5=88=A4=E6=96=AD=E5=BB=BA=E5=BD=93?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=A1=A3=E6=A1=88=E5=8F=B7=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/facade/BookbuildingFacade.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java index 08f33f9..ce46a2e 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java @@ -301,11 +301,11 @@ public class BookbuildingFacade { br.setErrormsg("该高危专案档案号已存在"); return br; } - if(CollectionUtils.isNotEmpty(patients) && patients.get(0).getFileCode()!=null){ + /*if(CollectionUtils.isNotEmpty(patients) && patients.get(0).getFileCode()!=null){ br.setErrorcode(ErrorCodeConstants.DATA_EXIST); br.setErrormsg("该档案号已存在"); return br; - } + }*/ if (yunRequest.getLastMenstrualPeriod() != null && !yunRequest.getLastMenstrualPeriod().equals("")) {//todowtt if (CollectionUtils.isNotEmpty(patients) && patients.get(0).getLastMenses().getTime() < DateUtil.parseYMD(yunRequest.getLastMenstrualPeriod()).getTime()) { br.setErrorcode(ErrorCodeConstants.DATA_EXIST); @@ -314,7 +314,10 @@ public class BookbuildingFacade { } } } - /*if (StringUtils.isNotEmpty(yunRequest.getFileCode())) { + if (StringUtils.isNotEmpty(yunRequest.getFileCode())) { + System.out.println("检查档案号"); + System.out.println("检查档案号"); + System.out.println("检查档案号"); patientsQuery.setCardNo(null); patientsQuery.setPhone(null); patientsQuery.setFileCode(yunRequest.getFileCode()); @@ -322,11 +325,14 @@ public class BookbuildingFacade { List patients = yunBookbuildingService.queryPregnantWithQuery(patientsQuery); if(CollectionUtils.isNotEmpty(patients)){ br.setErrorcode(ErrorCodeConstants.DATA_EXIST); + System.out.println("检查档案号完毕"); + System.out.println("检查档案号完毕"); + System.out.println("检查档案号完毕"); br.setErrormsg("该档案号已存在"); return br; } - }*/ + } //就诊卡号判断 // if (StringUtils.isNotEmpty(yunRequest.getVcCardNo())) { // patientsQuery.setCardNo(null); -- 1.8.3.1