Commit a0dbbda04fbe8844ec8942cc54ef8ccc433586da
1 parent
a68d0316cb
Exists in
master
and in
6 other branches
孕妇学校
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CourseFacade.java
View file @
a0dbbda
| ... | ... | @@ -111,7 +111,7 @@ |
| 111 | 111 | |
| 112 | 112 | query.setCreatedStart(DateUtil.parseYMD(dates[0])); |
| 113 | 113 | if (dates.length == 2) { |
| 114 | - query.setCreatedEnd(DateUtil.parseYMD(dates[1])); | |
| 114 | + query.setCreatedEnd(DateUtil.parseYMDHMS(dates[1] + " 23:59:59")); | |
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | //授课时间 |
| ... | ... | @@ -119,7 +119,7 @@ |
| 119 | 119 | String[] dates = courseTime.split(" - "); |
| 120 | 120 | query.setCourseTimeStart(DateUtil.parseYMD(dates[0])); |
| 121 | 121 | if (dates.length == 2) { |
| 122 | - query.setCourseTimeEnd(DateUtil.parseYMD(dates[1])); | |
| 122 | + query.setCourseTimeEnd(DateUtil.parseYMD(dates[1] + " 23:59:59")); | |
| 123 | 123 | } |
| 124 | 124 | } |
| 125 | 125 |