|
@@ -127,7 +127,6 @@
|
|
|
LEFT JOIN sys_user s ON g.teacher_id_ = s.id_
|
|
|
LEFT JOIN `subject` b ON g.lesson_subject_=b.id_
|
|
|
<where>
|
|
|
- and g.history_flag_ = 0
|
|
|
<if test="param.shelvesFlag !=null">
|
|
|
AND g.shelves_flag_ = #{param.shelvesFlag}
|
|
|
</if>
|
|
@@ -171,7 +170,6 @@
|
|
|
LEFT JOIN sys_user s ON g.teacher_id_ = s.id_
|
|
|
LEFT JOIN subject j ON g.lesson_subject_ = j.id_
|
|
|
<where>
|
|
|
- AND g.history_flag_ = 0
|
|
|
<if test="param.userId !=null">
|
|
|
AND p.student_id_ = #{param.userId}
|
|
|
</if>
|
|
@@ -218,7 +216,6 @@
|
|
|
FROM video_lesson_group g
|
|
|
LEFT JOIN subject j ON g.lesson_subject_ = j.id_
|
|
|
<where>
|
|
|
- AND g.history_flag_ = 0
|
|
|
<if test="param.userId !=null">
|
|
|
AND g.teacher_id_ = #{param.userId}
|
|
|
</if>
|
|
@@ -292,7 +289,7 @@
|
|
|
LEFT JOIN sys_user u ON g.teacher_id_=u.id_
|
|
|
LEFT JOIN `subject` s ON g.lesson_subject_ = s.id_
|
|
|
<where>
|
|
|
- AND g.history_flag_ = 0 and u.del_flag_ = 0
|
|
|
+ AND u.del_flag_ = 0
|
|
|
<if test="null != param.search and '' != param.search">
|
|
|
AND (
|
|
|
u.username_ LIKE CONCAT('%', #{param.search}, '%') OR
|