From 43e708df34bdbe1abb28edf7b7132f6d2e7cf4b4 Mon Sep 17 00:00:00 2001 From: qiaoyuewang Date: Tue, 8 Apr 2025 21:34:40 +0800 Subject: [PATCH] =?UTF-8?q?13:=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 --- .../operate/web/facade/BookbuildingFacade.java | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 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 72e8b29..1b55eb2 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 @@ -310,27 +310,17 @@ public class BookbuildingFacade { } } if (StringUtils.isNotEmpty(yunRequest.getFileCode())) { - System.out.println("检查档案号"); - System.out.println("检查档案号"); - System.out.println("检查档案号"); - patientsQuery.setCardNo(null); - patientsQuery.setPhone(null); - patientsQuery.setFileCode(yunRequest.getFileCode()); + PatientsQuery query = new PatientsQuery(); + query.setFileCode(yunRequest.getFileCode()); + query.setHospitalId(yunRequest.getHospitalId()); + query.setYn(YnEnums.YES.getId()); //判断该手机号码在 孕期内有没有建档 - List patients = yunBookbuildingService.queryPregnantWithQuery(patientsQuery); - if(CollectionUtils.isNotEmpty(patients)){ + List patients = yunBookbuildingService.queryPregnantWithQuery(query); + if(CollectionUtils.isNotEmpty(patients) ){ br.setErrorcode(ErrorCodeConstants.DATA_EXIST); - System.out.println("检查档案号完毕"); - System.out.println("检查档案号完毕"); - System.out.println("检查档案号完毕"); br.setErrormsg("该档案号已存在"); return br; } - - }else{ - System.out.println("检查档案号完毕为空"); - System.out.println("检查档案号完毕为空"); - System.out.println("检查档案号完毕为空"); } //就诊卡号判断 // if (StringUtils.isNotEmpty(yunRequest.getVcCardNo())) { -- 1.8.3.1