|  | @@ -68,9 +68,9 @@
 | 
											
												
													
														|  |  		g.shelves_reason_ as shelvesReason,
 |  |  		g.shelves_reason_ as shelvesReason,
 | 
											
												
													
														|  |  		g.create_time_ AS createTime,
 |  |  		g.create_time_ AS createTime,
 | 
											
												
													
														|  |  		g.update_time_ AS updateTime,
 |  |  		g.update_time_ AS updateTime,
 | 
											
												
													
														|  | -		g.audit_id_ AS auditId,
 |  | 
 | 
											
												
													
														|  | -		g.audit_name_ AS auditName,
 |  | 
 | 
											
												
													
														|  | -		g.audit_status_ AS auditStatus,
 |  | 
 | 
											
												
													
														|  | 
 |  | +		r.audit_id_ AS auditId,
 | 
											
												
													
														|  | 
 |  | +		r.audit_name_ AS auditName,
 | 
											
												
													
														|  | 
 |  | +		r.audit_status_ AS auditStatus,
 | 
											
												
													
														|  |  		g.audit_version_ as auditVersion,
 |  |  		g.audit_version_ as auditVersion,
 | 
											
												
													
														|  |  	</sql>
 |  |  	</sql>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -427,7 +427,7 @@
 | 
											
												
													
														|  |  			t.real_name_ AS realName,
 |  |  			t.real_name_ AS realName,
 | 
											
												
													
														|  |  			t.phone_ AS teacherPhone
 |  |  			t.phone_ AS teacherPhone
 | 
											
												
													
														|  |  		FROM video_lesson_auth_record r
 |  |  		FROM video_lesson_auth_record r
 | 
											
												
													
														|  | -		LEFT JOIN video_lesson_group_log g ON g.video_group_id_=r.video_group_id_ and g.version_ = r.version_
 |  | 
 | 
											
												
													
														|  | 
 |  | +		LEFT JOIN video_lesson_group g 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 r.video_group_id_ = #{videoGroupId}
 | 
											
										
											
												
													
														|  | @@ -446,7 +446,7 @@
 | 
											
												
													
														|  |  			t.real_name_ AS realName,
 |  |  			t.real_name_ AS realName,
 | 
											
												
													
														|  |  			t.phone_ AS teacherPhone
 |  |  			t.phone_ AS teacherPhone
 | 
											
												
													
														|  |  		FROM video_lesson_auth_record r
 |  |  		FROM video_lesson_auth_record r
 | 
											
												
													
														|  | -		LEFT JOIN video_lesson_group g ON g.id_=r.video_group_id_
 |  | 
 | 
											
												
													
														|  | 
 |  | +		LEFT JOIN video_lesson_group_log g ON g.video_group_id_=r.video_group_id_ and g.version_ = r.version_
 | 
											
												
													
														|  |  		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 gl.video_group_id_ != #{videoGroupId}
 |  |  		where gl.video_group_id_ != #{videoGroupId}
 |