Commit d84704567ebc2defce8340c456361f123cf099e5
1 parent
a53e2d4a35
Exists in
dev
#fix:优化体重管理小程序查询逻辑
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
d847045
... | ... | @@ -261,7 +261,7 @@ |
261 | 261 | Map<String,String> result = getWeightRangeIsNormal(patients, patientWeight); |
262 | 262 | patientWeight.setIsNormal(result.get("isNormal")); |
263 | 263 | patientWeight.setIsUp(Integer.parseInt(result.get("isUp"))); |
264 | - patientWeight.setType(1); | |
264 | + patientWeight.setType(patients.getType()); | |
265 | 265 | patientWeight.setBuildDate(patients.getBookbuildingDate()); |
266 | 266 | patientWeightService2.add(patientWeight); |
267 | 267 |