Commit dbcac89caf69cd525d8bcf68f912fac256fc261b
1 parent
f4700ebd80
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/BabyAfterVisitServiceImpl.java
View file @
dbcac89
... | ... | @@ -727,7 +727,7 @@ |
727 | 727 | Date nextDate = babyModel.getNextDate(); |
728 | 728 | nextDate = nextDate == null ? new Date() : nextDate; |
729 | 729 | mongoTemplate.updateFirst(query, Update.update("appointmentTime", nextDate), BabyAfterVisitInfoModel.class); |
730 | - if (Objects.equals(TYPE_CHECK, type)) { | |
730 | + if (Objects.equals(TYPE_BUILD, type)) { | |
731 | 731 | // 针对档案转正时,将其状态直接更新为作废 |
732 | 732 | mongoTemplate.updateFirst(query, Update.update("yn", 2), BabyAfterVisitInfoModel.class); |
733 | 733 | } |