|
@@ -2624,7 +2624,7 @@
|
|
|
</if>
|
|
|
<if test="searchType == 'TEACHER_ERR_ATTENDANCE'">
|
|
|
AND ta.teacher_id_ = cs.actual_teacher_id_
|
|
|
- AND cs.status_ = 'OVER'
|
|
|
+ AND cs.status_ = 'OVER' AND cs.group_type_ != 'LIVE'
|
|
|
AND ((ta.sign_in_status_ = 0 OR ta.sign_in_status_ IS NULL OR ta.sign_out_status_ = 0 OR ta.sign_out_status_ IS NULL)
|
|
|
AND ta.complaints_content_ IS NULL AND ta.dispose_content_ IS NULL)
|
|
|
AND (ta.sign_out_status_ IS NOT NULL OR ta.sign_in_status_ IS NOT NULL)
|
|
@@ -2632,14 +2632,14 @@
|
|
|
AND (cs.new_course_id_ IS NULL OR cs.new_course_id_=cs.id_) AND cssp.id_ IS NOT NULL
|
|
|
</if>
|
|
|
<if test="searchType == 'STUDENT_ERR_ATTENDANCE'">
|
|
|
- AND cs.status_ = 'OVER'
|
|
|
+ AND cs.status_ = 'OVER' AND cs.group_type_ != 'LIVE'
|
|
|
AND (sa.id_ IS NULL OR (sa.status_ = 'TRUANT' AND sa.visit_flag_ = 0))
|
|
|
AND EXISTS (SELECT id_ FROM course_schedule_teacher_salary WHERE cs.id_=course_schedule_id_ AND settlement_time_ IS NULL)
|
|
|
AND (cs.new_course_id_ IS NULL OR cs.new_course_id_=cs.id_) AND cssp.id_ IS NOT NULL
|
|
|
AND (ta.sign_out_status_ IS NOT NULL OR ta.sign_in_status_ IS NOT NULL)
|
|
|
</if>
|
|
|
<if test="searchType == 'NO_ATTENDANCE'">
|
|
|
- AND ta.teacher_id_ = cs.actual_teacher_id_
|
|
|
+ AND ta.teacher_id_ = cs.actual_teacher_id_ AND cs.group_type_ != 'LIVE'
|
|
|
AND cs.status_ = 'OVER' AND ta.sign_in_time_ IS NULL AND ta.sign_out_time_ IS NULL
|
|
|
AND ta.complaints_content_ IS NULL AND ta.dispose_content_ IS NULL
|
|
|
AND EXISTS (SELECT id_ FROM course_schedule_teacher_salary WHERE cs.id_=course_schedule_id_ AND settlement_time_ IS NULL)
|
|
@@ -4042,7 +4042,7 @@
|
|
|
</resultMap>
|
|
|
<sql id="queryCourseEvaluateSql">
|
|
|
<where>
|
|
|
- cs.status_ = 'OVER' AND ta.sign_in_time_ IS NOT NULL
|
|
|
+ cs.status_ = 'OVER' AND ta.sign_in_time_ IS NOT NULL AND cs.group_type_ != 'LIVE'
|
|
|
AND cs.del_flag_ = 0 AND (cs.is_lock_ = 0 OR cs.is_lock_ IS NULL) AND cs.pre_course_flag_ = 0
|
|
|
AND (cs.new_course_id_ IS NULL OR cs.new_course_id_ = cs.id_) AND sa.id_ IS NOT NULL
|
|
|
<if test="teacherId != null">
|