Commit 009bcad0096c9feceffa5e42df7fefefd37e5c5e
1 parent
87b0e61ab1
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 @
009bcad
... | ... | @@ -317,8 +317,8 @@ |
317 | 317 | String startAfterVisitTime = request.getStartAfterVisitTime(); |
318 | 318 | String endAfterVisitTime = request.getEndAfterVisitTime(); |
319 | 319 | if (StringUtils.isNotEmpty(startAfterVisitTime) && StringUtils.isNotEmpty(endAfterVisitTime)) { |
320 | - Date startDate = DateUtil.parseYMDHMS(startAfterVisitTime + "00:00:00"); | |
321 | - Date endDate = DateUtil.parseYMDHMS(endAfterVisitTime + "23:59:59"); | |
320 | + Date startDate = DateUtil.parseYMDHMS(startAfterVisitTime + " 00:00:00"); | |
321 | + Date endDate = DateUtil.parseYMDHMS(endAfterVisitTime + " 23:59:59"); | |
322 | 322 | query.addCriteria(Criteria.where("afterVisitTime").gte(startDate).lte(endDate)); |
323 | 323 | } |
324 | 324 |