|
|
@@ -21,6 +21,21 @@
|
|
|
LEFT JOIN course_table_bak t3 ON t1.id = t3.id
|
|
|
LEFT JOIN wf_course_adjust t4 ON t4.id = t3.wf_course_adjust_id
|
|
|
WHERE t1.schedule_date BETWEEN #{dto.startDate} and #{dto.endDate}
|
|
|
+ AND t1.schedule_date NOT IN (
|
|
|
+ SELECT DATE FROM holiday_date WHERE STATUS = 3
|
|
|
+ AND DATE BETWEEN #{dto.startDate} and #{dto.endDate}
|
|
|
+ )
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="getReplaceCourseList" parameterType="com.xjrsoft.module.classtime.entity.ClassTimeStatistics" resultType="com.xjrsoft.module.classtime.vo.CourseListVo">
|
|
|
+ SELECT t1.class_id, t1.teacher_id, t2.short_name,t1.adjust_type,t4.reason,t1.schedule_date FROM course_table t1
|
|
|
+ LEFT JOIN class_time t2 ON t1.time_period = t2.time_period AND t1.time_number = t2.number
|
|
|
+ LEFT JOIN course_table_bak t3 ON t1.id = t3.id
|
|
|
+ LEFT JOIN wf_course_adjust t4 ON t4.id = t3.wf_course_adjust_id
|
|
|
+ WHERE t1.schedule_date BETWEEN #{dto.startDate} and #{dto.endDate}
|
|
|
+ AND t1.schedule_date IN (
|
|
|
+ SELECT replace_date FROM class_time_calendar WHERE delete_mark = 0 AND replace_date BETWEEN #{dto.startDate} and #{dto.endDate}
|
|
|
+ )
|
|
|
</select>
|
|
|
|
|
|
<select id="getSubstituteList" parameterType="com.xjrsoft.module.classtime.entity.ClassTimeStatistics" resultType="com.xjrsoft.module.classtime.vo.CourseListVo">
|