|
@@ -779,7 +779,7 @@
|
|
|
WHERE cs.del_flag_ = 0 AND cs.is_lock_ = 0 AND cs.merge_flag_ = 0
|
|
|
AND cs.class_date_ <= DATE_FORMAT(NOW(),'%Y%m%d')
|
|
|
AND cs.status_ IN ('NOT_START','UNDERWAY')
|
|
|
- AND csts.user_id_ = #{teacherId} AND cs.pre_course_flag_ != 1 LIMIT 1
|
|
|
+ AND csts.user_id_ = #{userId} AND cs.pre_course_flag_ != 1 LIMIT 1
|
|
|
</select>
|
|
|
|
|
|
<select id="getTeacherCourseSchedulesWithDate" resultMap="courseScheduleDto">
|