Commit a9ae65bd4410cfef48f22bc10024f87d2f8991bb
Exists in
master
and in
6 other branches
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CourseFacade.java
View file @
a9ae65b
... | ... | @@ -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.parseYMDHMS(dates[1] + " 23:59:59")); | |
123 | 123 | } |
124 | 124 | } |
125 | 125 |