Commit a337a15a517c0a3233895463180d1398367a8aa8
1 parent
2ffeb2d1aa
Exists in
master
and in
6 other branches
改成之前的状态
Showing 1 changed file with 1 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyAfterVisitServiceImpl.java
View file @
a337a15
... | ... | @@ -940,9 +940,7 @@ |
940 | 940 | BabyAfterVisitInfoModel visitInfoModel = mongoTemplate.findOne(Query.query(Criteria.where(BABY_ID).is(babyId).and("type").is(type)), BabyAfterVisitInfoModel.class); |
941 | 941 | visitInfoModel.setAfterVisitResult(afterVisitResult); |
942 | 942 | if (Objects.equals(isAppointment, "1")) { |
943 | - if (!"1".equals(type)) { | |
944 | - visitInfoModel.setAppointmentTime(model.getAppointmentTime()); | |
945 | - } | |
943 | + visitInfoModel.setAppointmentTime(model.getAppointmentTime()); | |
946 | 944 | } |
947 | 945 | visitInfoModel.setAfterVisitTime(model.getAfterVisitTime()); |
948 | 946 | visitInfoModel.setAfterVisitUser(afterVisitUser); |