|
@@ -1225,7 +1225,7 @@
|
|
<select id="findExamRecordNeedMark" resultType="com.qmth.themis.business.bean.admin.OpenRecordNeedMarkBean">
|
|
<select id="findExamRecordNeedMark" resultType="com.qmth.themis.business.bean.admin.OpenRecordNeedMarkBean">
|
|
SELECT t.id as id,
|
|
SELECT t.id as id,
|
|
t.paper_id as paperId,
|
|
t.paper_id as paperId,
|
|
- t.objective_score as objectiveScore,
|
|
|
|
|
|
+ cast(t.objective_score as DECIMAL(10,2)) as objectiveScore,
|
|
t.finish_time as finishTime
|
|
t.finish_time as finishTime
|
|
FROM t_oe_exam_record t
|
|
FROM t_oe_exam_record t
|
|
where t.exam_student_id = #{examStudentId}
|
|
where t.exam_student_id = #{examStudentId}
|
|
@@ -1235,7 +1235,7 @@
|
|
|
|
|
|
<select id="findMaxObjectiveScore" resultType="com.qmth.themis.business.entity.TOeExamRecord">
|
|
<select id="findMaxObjectiveScore" resultType="com.qmth.themis.business.entity.TOeExamRecord">
|
|
select
|
|
select
|
|
- max(toer.objective_score) as objectiveScore,
|
|
|
|
|
|
+ cast(max(toer.objective_score) as DECIMAL(10,2)) as objectiveScore,
|
|
toer.id,toer.paper_id as paperId,toer.finish_time as finishTime,toer.first_start_time as firstStartTime
|
|
toer.id,toer.paper_id as paperId,toer.finish_time as finishTime,toer.first_start_time as firstStartTime
|
|
from
|
|
from
|
|
t_oe_exam_record toer
|
|
t_oe_exam_record toer
|