Commit ccb24a189f6d19c9d9366a811ace0b85b4a8de78
1 parent
c9aac15a96
Exists in
master
and in
8 other branches
code update
Showing 1 changed file with 1 additions and 0 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/impl/BabyCheckDaoImpl.java
View file @
ccb24a1
... | ... | @@ -23,6 +23,7 @@ |
23 | 23 | |
24 | 24 | @Override |
25 | 25 | public BabyCheckModel addBabyCheck(BabyCheckModel obj) { |
26 | + this.mongoTemplate.updateFirst(new Query(Criteria.where("id").is(obj.getBuildId())), Update.update("nextDate", obj.getNextDate()), BabyModel.class); | |
26 | 27 | return save(obj); |
27 | 28 | } |
28 | 29 |