|
|
@ -9,6 +9,8 @@
|
|
|
|
<result column="case_score" jdbcType="DECIMAL" property="caseScore" />
|
|
|
|
<result column="case_score" jdbcType="DECIMAL" property="caseScore" />
|
|
|
|
<result column="total_score" jdbcType="DECIMAL" property="totalScore" />
|
|
|
|
<result column="total_score" jdbcType="DECIMAL" property="totalScore" />
|
|
|
|
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
|
|
|
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
|
|
|
|
|
|
|
<result column="exam_end_status" jdbcType="VARCHAR" property="examEndStatus" />
|
|
|
|
|
|
|
|
<result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
|
|
|
<result column="single_stu_answer_ids" jdbcType="LONGVARCHAR" property="singleStuAnswerIds" />
|
|
|
|
<result column="single_stu_answer_ids" jdbcType="LONGVARCHAR" property="singleStuAnswerIds" />
|
|
|
@ -75,7 +77,7 @@
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
student_exam_id, exam_manage_id, userid, Objective_score, case_score, total_score,
|
|
|
|
student_exam_id, exam_manage_id, userid, Objective_score, case_score, total_score,
|
|
|
|
class_id
|
|
|
|
class_id, exam_end_status, start_time
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
single_stu_answer_ids, many_stu_answer_ids, judge_stu_answer_ids
|
|
|
|
single_stu_answer_ids, many_stu_answer_ids, judge_stu_answer_ids
|
|
|
@ -131,11 +133,13 @@
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
|
|
|
insert into stu_student_exam (student_exam_id, exam_manage_id, userid,
|
|
|
|
insert into stu_student_exam (student_exam_id, exam_manage_id, userid,
|
|
|
|
Objective_score, case_score, total_score,
|
|
|
|
Objective_score, case_score, total_score,
|
|
|
|
class_id, single_stu_answer_ids, many_stu_answer_ids,
|
|
|
|
class_id, exam_end_status, start_time,
|
|
|
|
|
|
|
|
single_stu_answer_ids, many_stu_answer_ids,
|
|
|
|
judge_stu_answer_ids)
|
|
|
|
judge_stu_answer_ids)
|
|
|
|
values (#{studentExamId,jdbcType=VARCHAR}, #{examManageId,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR},
|
|
|
|
values (#{studentExamId,jdbcType=VARCHAR}, #{examManageId,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR},
|
|
|
|
#{objectiveScore,jdbcType=DECIMAL}, #{caseScore,jdbcType=DECIMAL}, #{totalScore,jdbcType=DECIMAL},
|
|
|
|
#{objectiveScore,jdbcType=DECIMAL}, #{caseScore,jdbcType=DECIMAL}, #{totalScore,jdbcType=DECIMAL},
|
|
|
|
#{classId,jdbcType=VARCHAR}, #{singleStuAnswerIds,jdbcType=LONGVARCHAR}, #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
#{classId,jdbcType=VARCHAR}, #{examEndStatus,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
#{singleStuAnswerIds,jdbcType=LONGVARCHAR}, #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
#{judgeStuAnswerIds,jdbcType=LONGVARCHAR})
|
|
|
|
#{judgeStuAnswerIds,jdbcType=LONGVARCHAR})
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.financial_bigdata.entity.StuStudentExamWithBLOBs">
|
|
|
@ -162,6 +166,12 @@
|
|
|
|
<if test="classId != null">
|
|
|
|
<if test="classId != null">
|
|
|
|
class_id,
|
|
|
|
class_id,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="examEndStatus != null">
|
|
|
|
|
|
|
|
exam_end_status,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="startTime != null">
|
|
|
|
|
|
|
|
start_time,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="singleStuAnswerIds != null">
|
|
|
|
<if test="singleStuAnswerIds != null">
|
|
|
|
single_stu_answer_ids,
|
|
|
|
single_stu_answer_ids,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -194,6 +204,12 @@
|
|
|
|
<if test="classId != null">
|
|
|
|
<if test="classId != null">
|
|
|
|
#{classId,jdbcType=VARCHAR},
|
|
|
|
#{classId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="examEndStatus != null">
|
|
|
|
|
|
|
|
#{examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="startTime != null">
|
|
|
|
|
|
|
|
#{startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="singleStuAnswerIds != null">
|
|
|
|
<if test="singleStuAnswerIds != null">
|
|
|
|
#{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
#{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -235,6 +251,12 @@
|
|
|
|
<if test="record.classId != null">
|
|
|
|
<if test="record.classId != null">
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="record.examEndStatus != null">
|
|
|
|
|
|
|
|
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="record.startTime != null">
|
|
|
|
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="record.singleStuAnswerIds != null">
|
|
|
|
<if test="record.singleStuAnswerIds != null">
|
|
|
|
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -258,6 +280,8 @@
|
|
|
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
|
|
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
|
|
|
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
single_stu_answer_ids = #{record.singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
many_stu_answer_ids = #{record.manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
many_stu_answer_ids = #{record.manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
judge_stu_answer_ids = #{record.judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
|
|
|
judge_stu_answer_ids = #{record.judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
|
|
@ -273,7 +297,9 @@
|
|
|
|
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
|
|
|
Objective_score = #{record.objectiveScore,jdbcType=DECIMAL},
|
|
|
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
|
|
|
case_score = #{record.caseScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{record.totalScore,jdbcType=DECIMAL},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR}
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
exam_end_status = #{record.examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP}
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<if test="_parameter != null">
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -299,6 +325,12 @@
|
|
|
|
<if test="classId != null">
|
|
|
|
<if test="classId != null">
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="examEndStatus != null">
|
|
|
|
|
|
|
|
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="startTime != null">
|
|
|
|
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="singleStuAnswerIds != null">
|
|
|
|
<if test="singleStuAnswerIds != null">
|
|
|
|
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -319,6 +351,8 @@
|
|
|
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
|
|
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
single_stu_answer_ids = #{singleStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
many_stu_answer_ids = #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
many_stu_answer_ids = #{manyStuAnswerIds,jdbcType=LONGVARCHAR},
|
|
|
|
judge_stu_answer_ids = #{judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
|
|
|
judge_stu_answer_ids = #{judgeStuAnswerIds,jdbcType=LONGVARCHAR}
|
|
|
@ -331,7 +365,9 @@
|
|
|
|
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
|
|
|
Objective_score = #{objectiveScore,jdbcType=DECIMAL},
|
|
|
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
|
|
|
case_score = #{caseScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
total_score = #{totalScore,jdbcType=DECIMAL},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR}
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
exam_end_status = #{examEndStatus,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP}
|
|
|
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
|
|
|
where student_exam_id = #{studentExamId,jdbcType=VARCHAR}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|