From 5b2aae9e4af7f85196d20b590534f344e557fe4c Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Wed, 13 Sep 2017 16:59:24 +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 | 3 ++- 1 file changed, 2 insertions(+), 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 d4c367c..77bbeb5 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 @@ -236,7 +236,8 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient map.put("vcCard", patients.getVcCardNo()); map.put("username", patients.getUsername()); map.put("phone", patients.getPhone()); - map.put("dueDate", patients.getDueDate()); + map.put("dueDate", DateUtil.getyyyy_MM_dd(patients.getDueDate())); + map.put("age", DateUtil.getAge(patients.getBirth())); } map.put("height", patientWeight.getBeforeHeight()); map.put("beforeWeight", patientWeight.getBeforeWeight()); -- 1.8.3.1