From dd5ed70cfc6e82cb7d748d0356c74521f16708ec Mon Sep 17 00:00:00 2001 From: liquanyu Date: Fri, 31 Aug 2018 16:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A9=E4=BA=A7=E6=9C=BA=E6=9E=84=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java index 7a5dfc6..58f03d1 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java @@ -364,7 +364,7 @@ public class DueOrgCountWorker implements Callable>> { babyModelQuery6.setBabyWeightEnd("2.6"); if ("216".equals(hospialId)) { - System.out.println("hospital id query "+ babyModelQuery6.convertToQuery().convertToMongoQuery().toString()); + System.out.println("hospital id query " + babyModelQuery6.convertToQuery().convertToMongoQuery().toString()); } int lowWeightCount = babyService.queryBabyCount(babyModelQuery6); //低出生体重数 @@ -377,7 +377,7 @@ public class DueOrgCountWorker implements Callable>> { if (StringUtils.isNotEmpty(time)) { patientsQuery1.setFmDateStart(DateUtil.getSNDate(time)[0]); - patientsQuery1.setFmDateEnd(DateUtil.getSNDate(time)[1]); + patientsQuery1.setFmDateEnd(DateUtil.addDay(DateUtil.getSNDate(time)[1],1)); } patientsQuery1.setFmHospital(hospialId); patientsQuery1.setFmWeekStart(0); -- 1.8.3.1