Commit fb8762f5f21e77d70860fd993ddfc17d0917ed29

Authored by litao@lymsh.com
1 parent ece1376f58

区域数据

Showing 1 changed file with 1 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ fb8762f
... ... @@ -66,6 +66,7 @@
66 66 return RespBuilder.buildErro(ResponseCode.NEED_ADD_PATIENT_WEIGHT);
67 67 }
68 68 patientWeight.setPatientId(patients.getId());
  69 + pw = mongoTemplate.findOne(Query.query(Criteria.where("patientId").is(patients.getId()).and("hospitalId").is(hospitalId)), PatientWeight.class);
69 70 }
70 71  
71 72 if(pw != null && StringUtils.isNotEmpty(patientWeight.getBeforeWeight())) {