delete from eb_attendance_arrange_record where group_id = #{groupId} and uid = #{adminId} and date >= TIMESTAMP(CURDATE()) delete from eb_attendance_statistics where group_id = #{groupId} and uid = #{adminId} and created_at >= TIMESTAMP(CURDATE())