From 3ba0a6229158b1a331e7933cd1c75d093ae03a7e Mon Sep 17 00:00:00 2001 From: shiyang <316555390@qq.com> Date: Wed, 19 Jan 2022 12:34:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=84=BF=E4=BF=9D=E6=A3=80=E6=9F=A5-=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=AB=98=E5=8D=B1=E8=AF=A6=E6=83=85BUG=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java index 3015278..10d8c55 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java @@ -43,6 +43,7 @@ import org.springframework.stereotype.Component; import java.util.*; import java.util.concurrent.Callable; import java.util.concurrent.Future; +import java.util.concurrent.TimeUnit; import java.util.regex.Pattern; import static com.lyms.platform.operate.web.service.BabyAfterVisitService.*; @@ -233,7 +234,7 @@ public class BabyCheckFacade extends BaseServiceImpl { } bm.setDiseases(request.getDiseases()); //秦皇岛-高危详情添加到儿童表 - bm.setQhdHighRiskInfo(CollectionUtils.isNotEmpty(request.getQhdHighRiskInfo())?request.getQhdHighRiskInfo():null); + bm.setQhdHighRiskInfo(CollectionUtils.isNotEmpty(request.getQhdHighRiskInfo())?request.getQhdHighRiskInfo():new ArrayList>()); //如果这次更新的检查记录是最新的记录就更新对应档案数据否则不更新 @@ -4913,9 +4914,6 @@ public class BabyCheckFacade extends BaseServiceImpl { public BaseResponse getBabyCheckStatis(String hospitalId, Date startDate, Date endDate) { BaseResponse br=new BaseResponse(); Map map=new HashMap<>(); -// long month0=0,month1=0,month0=0,month0=0,month0=0,month0=0,month0=0,month0=0,month0=0,month0=0,month0=0, -// month0=0,month0=0,month0=0,month0=0,month0=0,month0=0,month0=0month0=0month0=0,month0=0,month0=0, -// ; BabyCheckModelQuery query = new BabyCheckModelQuery(); query.setHospitalId(hospitalId); query.setYn(YnEnums.YES.getId()); -- 1.8.3.1