|
@@ -1064,7 +1064,7 @@
|
|
|
</select>
|
|
|
|
|
|
<update id="updateSubjectiveScoreByVersion">
|
|
|
- update mark_student t set t.subjective_status = #{status},t.subjective_score = #{score},t.subjective_score_list = #{scoreList},t.version = version + 1
|
|
|
+ update mark_student t set t.subjective_status = #{status},t.subjective_score = #{score},t.subjective_score_list = #{scoreList},t.version = t.version + 1
|
|
|
<where>
|
|
|
<if test="studentId != null and studentId != ''">
|
|
|
AND t.id = #{studentId}
|
|
@@ -1084,9 +1084,9 @@
|
|
|
and be.enable = true and be.id = mp.exam_id) and ms.exam_id = mp.exam_id and ms.paper_number = mp.paper_number)
|
|
|
and (ms.subjective_status = 'UNMARK' or ms.subjective_score = 0 or ms.subjective_score is null)
|
|
|
and ms.is_upload = true and (ms.is_absent = true or ms.is_manual_absent = true or omr_absent = true)
|
|
|
- /*and exists(select 1 from mark_task mt where ms.id = mt.student_id)*/
|
|
|
+ <!--and exists(select 1 from mark_task mt where ms.id = mt.student_id)*-->
|
|
|
<if test="limit != null and limit != ''">
|
|
|
- #{limit}
|
|
|
+ ${limit}
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|