|
@@ -511,7 +511,7 @@
|
|
|
</select>
|
|
|
<select id="findFirstSign" resultType="java.lang.Long">
|
|
|
SELECT sa.course_schedule_id_ FROM student_attendance sa
|
|
|
- WHERE sa.current_schedule_id_ = #{currentScheduleId} AND sa.user_id_ = #{userId}
|
|
|
+ WHERE sa.current_schedule_id_ = #{courseScheduleId} AND sa.user_id_ = #{userId}
|
|
|
AND sa.sign_in_time_ IS NOT NULL ORDER BY sa.sign_in_time_ ASC LIMIT 1
|
|
|
</select>
|
|
|
</mapper>
|