|
@@ -362,12 +362,11 @@
|
|
|
</update>
|
|
|
<update id="batchUpdateTeacher">
|
|
|
UPDATE teacher_attendance
|
|
|
- SET teacher_id_ = #{teacherId}
|
|
|
+ SET teacher_id_ = #{teacherId},sign_in_time_ = null,sign_in_status_ = null,sign_out_status_ = null,sign_out_time_= null
|
|
|
WHERE course_schedule_id_ IN
|
|
|
<foreach collection="courseScheduleIds" item="courseScheduleId" open="(" close=")" separator=",">
|
|
|
#{courseScheduleId}
|
|
|
</foreach>
|
|
|
- AND sign_in_status_ IS NULL AND sign_out_status_ IS NULL
|
|
|
</update>
|
|
|
|
|
|
<delete id="deleteByMusicGroupId" parameterType="map" >
|