From 6d6d87a9b5c265b6c55eff68bec5e2fbbb79d2d0 Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Mon, 25 Sep 2017 15:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E9=87=8D=E7=AE=A1=E7=90=86=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/service/impl/PatientWeightServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java index d7a373e..3089f65 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java @@ -221,7 +221,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient map.put("phone", patients.getPhone()); map.put("dueDate", DateUtil.getyyyy_MM_dd(patients.getDueDate())); map.put("age", DateUtil.getAge(patients.getBirth())); - Integer week = DateUtil.getWeek(patients.getLastMenses(), new Date()); + Integer week = DateUtil.getWeek(patients.getLastMenses(), new Date()) - 1; String yunqi = ""; if(week <= 12) { yunqi = "孕早期"; -- 1.8.3.1