Commit a33cbe971a1be0607a2370a6b81a7ec00e28faf1
1 parent
9874c47c59
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 @
a33cbe9
... | ... | @@ -1314,7 +1314,7 @@ |
1314 | 1314 | |
1315 | 1315 | private WeightConfigModel getWeightConfigByWeek(int week) |
1316 | 1316 | { |
1317 | - WeightConfigModel weightConfigModel = mongoTemplate.findOne(Query.query(Criteria.where("week").is(week)), | |
1317 | + WeightConfigModel weightConfigModel = mongoTemplate.findOne(Query.query(Criteria.where("week").is(String.valueOf(week))), | |
1318 | 1318 | WeightConfigModel.class); |
1319 | 1319 | return weightConfigModel; |
1320 | 1320 | } |