|
@@ -363,7 +363,7 @@
|
|
CONCAT(cs.class_date_,' ',cs.start_class_time_) start_class_time_,
|
|
CONCAT(cs.class_date_,' ',cs.start_class_time_) start_class_time_,
|
|
CONCAT(cs.class_date_,' ',cs.end_class_time_) end_class_time_,
|
|
CONCAT(cs.class_date_,' ',cs.end_class_time_) end_class_time_,
|
|
cs.teacher_id_,
|
|
cs.teacher_id_,
|
|
- csts.user_id_ actual_teacher_id_,
|
|
|
|
|
|
+ cs.actual_teacher_id_,
|
|
cs.create_time_,
|
|
cs.create_time_,
|
|
cs.update_time_,
|
|
cs.update_time_,
|
|
cs.teach_mode_,
|
|
cs.teach_mode_,
|
|
@@ -374,12 +374,11 @@
|
|
cs.schoole_id_
|
|
cs.schoole_id_
|
|
FROM
|
|
FROM
|
|
course_schedule cs
|
|
course_schedule cs
|
|
- LEFT JOIN course_schedule_teacher_salary csts ON cs.id_= csts.course_schedule_id_ AND csts.teacher_role_='BISHOP'
|
|
|
|
WHERE cs.id_ IN
|
|
WHERE cs.id_ IN
|
|
<foreach collection="courseScheduleIds" item="id" open="(" close=")" separator=",">
|
|
<foreach collection="courseScheduleIds" item="id" open="(" close=")" separator=",">
|
|
#{id}
|
|
#{id}
|
|
</foreach>
|
|
</foreach>
|
|
- ORDER BY csts.create_time_ DESC
|
|
|
|
|
|
+ ORDER BY cs.create_time_ DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="findTeachingTeachers" resultMap="com.ym.mec.biz.dal.dao.CourseScheduleTeacherSalaryDao.CourseScheduleTeacherSalary">
|
|
<select id="findTeachingTeachers" resultMap="com.ym.mec.biz.dal.dao.CourseScheduleTeacherSalaryDao.CourseScheduleTeacherSalary">
|