|
@@ -185,6 +185,7 @@
|
|
|
<resultMap id="ExamReviewRecordDtoMap" type="com.keao.edu.user.dto.ExamReviewRecordDto">
|
|
|
<result property="recordStartTime" column="record_start_time_"/>
|
|
|
<result property="confirmStatus" column="confirm_status_"/>
|
|
|
+ <result property="recordFlag" column="record_flag_"/>
|
|
|
<result property="realName" column="real_name_"/>
|
|
|
<result property="studentId" column="student_id_"/>
|
|
|
<result property="evaluationContent" column="evaluation_content_"/>
|
|
@@ -208,6 +209,7 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
+
|
|
|
<select id="queryExamReviewRecordList" resultMap="ExamReviewRecordDtoMap">
|
|
|
SELECT ser.is_finished_exam_,ser.record_flag_,ser.confirm_status_,er.evaluation_content_,
|
|
|
er.evaluation_result_,ersr.exam_registration_id_,er.id_,ersr.student_id_
|
|
@@ -218,6 +220,7 @@
|
|
|
ORDER BY ser.is_finished_exam_ DESC
|
|
|
<include refid="global.limit"/>
|
|
|
</select>
|
|
|
+
|
|
|
<select id="findByRegistrationId" resultMap="ExamReviewRecordDtoMap">
|
|
|
SELECT * FROM exam_review WHERE exam_registration_id_ = #{examRegistrationId} AND teacher_id_ = #{teacherId} LIMIT 1
|
|
|
</select>
|