Commit 6f8ea25b8de0849bba97480f7dd345671b72b1bb
1 parent
5e2b117cc7
Exists in
master
and in
6 other branches
bug 修复
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyAfterVisitServiceImpl.java
View file @
6f8ea25
... | ... | @@ -326,8 +326,8 @@ |
326 | 326 | String startAppointmentTime = request.getStartAppointmentTime(); |
327 | 327 | String endAppointmentTime = request.getEndAppointmentTime(); |
328 | 328 | if (StringUtils.isNotEmpty(startAppointmentTime) && StringUtils.isNotEmpty(endAppointmentTime)) { |
329 | - startAppointmentTime += startAppointmentTime + "00:00:00"; | |
330 | - endAppointmentTime += endAppointmentTime + "23:59:59"; | |
329 | + startAppointmentTime += " 00:00:00"; | |
330 | + endAppointmentTime += " 23:59:59"; | |
331 | 331 | Date startDate = DateUtil.parseYMDHMS(startAppointmentTime); |
332 | 332 | Date endDate = DateUtil.parseYMDHMS(endAppointmentTime); |
333 | 333 | query.addCriteria(Criteria.where("appointmentTime").gte(startDate).lte(endDate)); |