|
@@ -572,11 +572,6 @@
|
|
WHERE ta.current_schedule_id_ = #{currentScheduleId} AND ta.teacher_id_ = #{userId}
|
|
WHERE ta.current_schedule_id_ = #{currentScheduleId} AND ta.teacher_id_ = #{userId}
|
|
AND ta.sign_in_time_ IS NOT NULL ORDER BY ta.sign_in_time_ ASC LIMIT 1
|
|
AND ta.sign_in_time_ IS NOT NULL ORDER BY ta.sign_in_time_ ASC LIMIT 1
|
|
</select>
|
|
</select>
|
|
- <select id="queryAttendanceComplaintsAutoAffirmList" resultMap="TeacherAttendance">
|
|
|
|
- SELECT * FROM teacher_attendance
|
|
|
|
- WHERE complaints_status_ = 2 AND TIMESTAMPDIFF(DAY,complaints_time_,NOW()) >= #{affirmDay}
|
|
|
|
- </select>
|
|
|
|
-
|
|
|
|
<update id="updateViPSignOutStatus" parameterType="string">
|
|
<update id="updateViPSignOutStatus" parameterType="string">
|
|
UPDATE teacher_attendance SET sign_out_status_ = 1,sign_out_time_= now()
|
|
UPDATE teacher_attendance SET sign_out_status_ = 1,sign_out_time_= now()
|
|
WHERE FIND_IN_SET(course_schedule_id_,#{courseScheduleIdList}) AND sign_in_status_ = 1
|
|
WHERE FIND_IN_SET(course_schedule_id_,#{courseScheduleIdList}) AND sign_in_status_ = 1
|