|
@@ -407,7 +407,6 @@
|
|
r.audit_status_ AS auditStatus,
|
|
r.audit_status_ AS auditStatus,
|
|
g.audit_version_ as auditVersion,
|
|
g.audit_version_ as auditVersion,
|
|
r.video_group_id_ as videoGroupId,
|
|
r.video_group_id_ as videoGroupId,
|
|
- r.group_id_ as groupId,
|
|
|
|
r.audit_status_ AS auditStatus,
|
|
r.audit_status_ AS auditStatus,
|
|
r.remarks as remarks,
|
|
r.remarks as remarks,
|
|
r.version_ as version,
|
|
r.version_ as version,
|
|
@@ -422,7 +421,7 @@
|
|
<where>
|
|
<where>
|
|
and r.audit_status_ != 'DOING'
|
|
and r.audit_status_ != 'DOING'
|
|
<if test="null != param.groupId">
|
|
<if test="null != param.groupId">
|
|
- AND r.group_id_ = #{param.groupId}
|
|
|
|
|
|
+ AND r.video_group_id_ = #{param.groupId}
|
|
</if>
|
|
</if>
|
|
<if test="null != param.search and '' != param.search">
|
|
<if test="null != param.search and '' != param.search">
|
|
AND (
|
|
AND (
|
|
@@ -480,17 +479,16 @@
|
|
r.audit_status_ AS auditStatus,
|
|
r.audit_status_ AS auditStatus,
|
|
r.version_ as version,
|
|
r.version_ as version,
|
|
r.video_group_id_ as videoGroupId,
|
|
r.video_group_id_ as videoGroupId,
|
|
- r.group_id_ as groupId,
|
|
|
|
r.remarks as remarks,
|
|
r.remarks as remarks,
|
|
s.name_ AS subjectName,
|
|
s.name_ AS subjectName,
|
|
t.username_ AS teacherName,
|
|
t.username_ AS teacherName,
|
|
t.real_name_ AS realName,
|
|
t.real_name_ AS realName,
|
|
t.phone_ AS teacherPhone
|
|
t.phone_ AS teacherPhone
|
|
- FROM video_lesson_auth_record r
|
|
|
|
- LEFT JOIN video_lesson_group g ON g.id_=r.video_group_id_
|
|
|
|
|
|
+ FROM video_lesson_group g
|
|
|
|
+ LEFT JOIN video_lesson_auth_record r ON g.id_=r.video_group_id_
|
|
LEFT JOIN `subject` s ON g.lesson_subject_=s.id_
|
|
LEFT JOIN `subject` s ON g.lesson_subject_=s.id_
|
|
LEFT JOIN sys_user t ON g.teacher_id_=t.id_
|
|
LEFT JOIN sys_user t ON g.teacher_id_=t.id_
|
|
- where r.video_group_id_ = #{videoGroupId}
|
|
|
|
|
|
+ where g.id_ = #{videoGroupId}
|
|
order by r.id_ desc limit 1
|
|
order by r.id_ desc limit 1
|
|
</select>
|
|
</select>
|
|
|
|
|