Commit f621d6de5aeca6dd5fa8723b9a4252aad8aaa38e
1 parent
5bf12f0d21
Exists in
master
and in
6 other branches
体重管理相关代码
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 @
f621d6d
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 | Patients patients = mongoTemplate.findById(patientWeight.getPatientId(), Patients.class); |
58 | 58 | PatientWeight pw = mongoTemplate.findOne(Query.query(Criteria.where("patientId").is(patientWeight.getPatientId()).and("hospitalId").is(hospitalId)), PatientWeight.class); |
59 | 59 | if(pw == null && StringUtils.isEmpty(patientWeight.getBeforeWeight())) { |
60 | - RespBuilder.buildErro(ResponseCode.NEED_ADD_PATIENT_WEIGHT); | |
60 | + return RespBuilder.buildErro(ResponseCode.NEED_ADD_PATIENT_WEIGHT); | |
61 | 61 | } |
62 | 62 | Map<Integer, String> weights = new HashMap<>(); |
63 | 63 | Map<String, String> dayWeights = new HashMap<>(); |