Commit b7b73683a531fb3366bc71341ac4ef3f200332ca
1 parent
e27ba153de
Exists in
master
and in
6 other branches
12333
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 @
b7b7368
... | ... | @@ -225,8 +225,8 @@ |
225 | 225 | for (Patients patient : patients) { |
226 | 226 | ids.add(patient.getId()); |
227 | 227 | } |
228 | - criteria.and("patientId").in(ids); | |
229 | 228 | } |
229 | + criteria.and("patientId").in(ids); | |
230 | 230 | |
231 | 231 | PageResult pageResult = findMongoPage(PatientWeight.class, new Query(criteria).with(new Sort(Sort.Direction.DESC, "created")), page, limit); |
232 | 232 | List<PatientWeight> patientWeights = (List<PatientWeight>) pageResult.getGrid(); |