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);