Commit c6047be45bea70a73cb1ec509a925a1072fc07b8
1 parent
965bdc65c1
Exists in
master
and in
6 other branches
修复bug
Showing 1 changed file with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyAfterVisitServiceImpl.java
View file @
c6047be
... | ... | @@ -431,10 +431,10 @@ |
431 | 431 | Date startDate = DateUtil.parseYMDHMS(startAppointmentTime); |
432 | 432 | Date endDate = DateUtil.parseYMDHMS(endAppointmentTime); |
433 | 433 | Date date = new Date(); |
434 | - if (date.before(startDate) || date.after(endDate)) { | |
435 | - return new BaseResponse(); | |
436 | - } | |
437 | - query.addCriteria(Criteria.where("appointmentTime").gte(startDate).lte(date)); | |
434 | + //if (date.before(startDate) || date.after(endDate)) { | |
435 | + // return new BaseResponse(); | |
436 | + //} | |
437 | + query.addCriteria(Criteria.where("appointmentTime").gte(startDate).lte(endDate)); | |
438 | 438 | } |
439 | 439 | if (!appointmentTimeBoolean && nonNull) { |
440 | 440 | Date end; |