Commit ab124d06e566aaa8f832f64da7464a1bfdc722eb
1 parent
133b5fe749
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/service/impl/BabyDeathServerImpl.java
View file @
ab124d0
... | ... | @@ -73,7 +73,7 @@ |
73 | 73 | Query query = Query.query(Criteria.where("id").is(param.getId())); |
74 | 74 | Update update = MongoConvertHelper |
75 | 75 | .convertToNativeUpdate(ReflectionUtils.getUpdateField(param)); |
76 | - mongoTemplate.updateFirst(query, update, PregnantDeathModel.class); | |
76 | + mongoTemplate.updateFirst(query, update, BabyDeathModel.class); | |
77 | 77 | return new BaseResponse(); |
78 | 78 | } |
79 | 79 |