|
|
@@ -106,7 +106,7 @@
|
|
|
SELECT COUNT(t1.id) FROM course_table t1
|
|
|
INNER JOIN course_table_bak t2 ON t1.schedule_date = t2.schedule_date
|
|
|
AND t1.time_number = t2.time_number
|
|
|
- AND t1.time_period = t2.time_number
|
|
|
+ AND t1.time_period = t2.time_period
|
|
|
WHERE t2.wf_course_adjust_id = #{dto.wfCourseAdjustId}
|
|
|
AND t1.teacher_id LIKE concat('%', #{dto.teacherId},'%') AND t1.adjust_type IS NULL;
|
|
|
</select>
|