Commit e0b12729f9a923fb538200e36f9676a460bd79b2

Authored by shiyang
1 parent 7117c56c39

update

Showing 1 changed file with 3 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ e0b1272
... ... @@ -202,6 +202,9 @@
202 202 Map<String,String> result = getWeightRangeIsNormal(patients, pw);
203 203 pw.setIsNormal(result.get("isNormal"));
204 204 pw.setIsUp(Integer.parseInt(result.get("isUp")));
  205 + if(null!=patientWeight.getIsPrint()){
  206 + pw.setIsPrint(patientWeight.getIsPrint());
  207 + }
205 208 patientWeightService2.update(Query.query(Criteria.where("id").is(pw.getId())), pw);
206 209 return RespBuilder.buildSuccess(pw.getId());
207 210 }