Commit bc6a1735f90ea1d8f70cb90945fd298479ce1761
1 parent
702f3d0e16
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/BabyEvaluationCriterionServiceImpl.java
View file @
bc6a173
... | ... | @@ -427,8 +427,8 @@ |
427 | 427 | String startCheckTime = param.getStartCheckTime(); |
428 | 428 | String endCheckTime = param.getEndCheckTime(); |
429 | 429 | if (StringUtils.isNotEmpty(startCheckTime) && StringUtils.isNotEmpty(endCheckTime)) { |
430 | - Date startDate = DateUtil.parseYMD(startCheckTime); | |
431 | - Date endDate = DateUtil.parseYMD(endCheckTime); | |
430 | + Date startDate = DateUtil.parseYMD(startCheckTime + " 00:00:00"); | |
431 | + Date endDate = DateUtil.parseYMDHMS(endCheckTime + " 59:59:59"); | |
432 | 432 | query.addCriteria(Criteria.where("checkTime").gte(startDate).lte(endDate)); |
433 | 433 | } |
434 | 434 |