Commit 643059b58f68badacbad77a6233841ac3d48bf01
1 parent
eb633ed095
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/HealthChargeFacade.java
View file @
643059b
... | ... | @@ -202,7 +202,7 @@ |
202 | 202 | */ |
203 | 203 | private void getTemporaryUserInfo(Map map,String id,Date created) |
204 | 204 | { |
205 | - TemporaryUserModel temporaryWeightModel = mongoTemplate.findOne(Query.query(Criteria.where("_id").is(id).and("yn").is(YnEnums.YES.getId())), | |
205 | + TemporaryUserModel temporaryWeightModel = mongoTemplate.findOne(Query.query(Criteria.where("_id").is(id).and("yn").is(String.valueOf(YnEnums.YES.getId()))), | |
206 | 206 | TemporaryUserModel.class); |
207 | 207 | if (temporaryWeightModel != null) |
208 | 208 | { |