From c5afa8a89a38539d7837635e482355416c31ce0e Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Thu, 28 Sep 2017 07:08:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8C=E6=AD=A5=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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 54e89be..28c62c2 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 @@ -345,6 +345,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient if(StringUtils.isEmpty(patientWeight.getId()) && patients != null) { // patientWeight.setId(UUID.randomUUID().toString().replaceAll("-", "")); + patientWeight.setCreated(new Date()); patientWeight.setHospitalId(patients.getHospitalId()); if(StringUtils.isNotBlank(patientWeight.getBeforeWeight()) && patientWeight.getBeforeHeight() != null) { -- 1.8.3.1