From 513986162ae787b6882884881d90ba1f26f6be93 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Mon, 1 Jul 2024 14:36:33 +0800 Subject: [PATCH] =?UTF-8?q?#fix:=E6=96=B0=E5=A2=9E=E4=BD=93=E9=87=8D?= =?UTF-8?q?=E8=90=A5=E5=85=BB=E6=8A=A5=E5=91=8A=E6=B7=BB=E5=8A=A0=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=8F=8A=E5=AF=B9=E5=BA=94=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/lyms/platform/pojo/PatientWeight.java | 10 ++++++++++ .../operate/web/service/impl/PatientWeightServiceImpl.java | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/platform-dal/src/main/java/com/lyms/platform/pojo/PatientWeight.java b/platform-dal/src/main/java/com/lyms/platform/pojo/PatientWeight.java index 764cabb..3a848d7 100644 --- a/platform-dal/src/main/java/com/lyms/platform/pojo/PatientWeight.java +++ b/platform-dal/src/main/java/com/lyms/platform/pojo/PatientWeight.java @@ -150,6 +150,16 @@ public class PatientWeight extends BaseModel { * 是否打印过报告 1:已打印 2:未已打印 */ private Integer isPrint ; + @Transient + private Integer week; + + public Integer getWeek() { + return week; + } + + public void setWeek(Integer week) { + this.week = week; + } public Integer getIsPrint() { return isPrint; 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 a964305..c22220f 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 @@ -199,6 +199,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient map.put("nowWeight", nowWeight); if ("2100002419".equals(hospitalId)){ map.put("riskFactorId", patients.getRiskFactorId()); + map.put("week", patientWeight.getWeek()); } } } @@ -211,6 +212,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient /*m.put("doctorId", doctorId);*/ if ("2100002419".equals(hospitalId)){ m.put("riskFactorId", patients.getRiskFactorId()); + m.put("week", patientWeight.getWeek()); } dayWeights2.add(m); } @@ -250,6 +252,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient m.put("nowWeight", nowWeight); if ("2100002419".equals(hospitalId)){ m.put("riskFactorId", patients.getRiskFactorId()); + m.put("week", patientWeight.getWeek()); } /*m.put("doctorId", doctorId);*/ dayWeights2.add(m); @@ -1415,6 +1418,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient //如果是大同添加当前患者高危因素 if ("2100002419".equals(hospitalId)){ map.put("riskFactorId", patients.getRiskFactorId()); + map.put("week", patientWeight.getWeek()); } } else { map.put("hospitalId2", hospitalId); @@ -1431,6 +1435,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient //如果是大同添加当前患者高危因素 if ("2100002419".equals(hospitalId)){ m.put("riskFactorId", patients.getRiskFactorId()); + m.put("week", patientWeight.getWeek()); } dayWeights2.add(m); } @@ -1450,6 +1455,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient //如果是大同添加当前患者高危因素 if ("2100002419".equals(hospitalId)){ m.put("riskFactorId", patients.getRiskFactorId()); + m.put("week", patientWeight.getWeek()); } dayWeights2.add(m); patientWeight.setDayWeights2(dayWeights2); -- 1.8.3.1