|
|
@ -6,7 +6,7 @@
|
|
|
|
<result column="exam_name" jdbcType="VARCHAR" property="examName" />
|
|
|
|
<result column="exam_name" jdbcType="VARCHAR" property="examName" />
|
|
|
|
<result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
|
|
|
|
<result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
|
|
|
|
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
|
|
|
|
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
|
|
|
|
<result column="class_name" jdbcType="VARCHAR" property="className" />
|
|
|
|
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
|
|
|
<result column="logo_address" jdbcType="VARCHAR" property="logoAddress" />
|
|
|
|
<result column="logo_address" jdbcType="VARCHAR" property="logoAddress" />
|
|
|
|
<result column="exam_Description" jdbcType="VARCHAR" property="examDescription" />
|
|
|
|
<result column="exam_Description" jdbcType="VARCHAR" property="examDescription" />
|
|
|
|
<result column="Objective_weight" jdbcType="DECIMAL" property="objectiveWeight" />
|
|
|
|
<result column="Objective_weight" jdbcType="DECIMAL" property="objectiveWeight" />
|
|
|
@ -84,7 +84,7 @@
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
exam_manage_id, exam_name, start_time, end_time, class_name, logo_address, exam_Description,
|
|
|
|
exam_manage_id, exam_name, start_time, end_time, class_id, logo_address, exam_Description,
|
|
|
|
Objective_weight, case_weight, single_score, many_score, judge_score, case_score
|
|
|
|
Objective_weight, case_weight, single_score, many_score, judge_score, case_score
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
@ -141,14 +141,14 @@
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.TeaExamManageWithBLOBs">
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.financial_bigdata.entity.TeaExamManageWithBLOBs">
|
|
|
|
insert into tea_exam_manage (exam_manage_id, exam_name, start_time,
|
|
|
|
insert into tea_exam_manage (exam_manage_id, exam_name, start_time,
|
|
|
|
end_time, class_name, logo_address,
|
|
|
|
end_time, class_id, logo_address,
|
|
|
|
exam_Description, Objective_weight, case_weight,
|
|
|
|
exam_Description, Objective_weight, case_weight,
|
|
|
|
single_score, many_score, judge_score,
|
|
|
|
single_score, many_score, judge_score,
|
|
|
|
case_score, single_idList, many_idList,
|
|
|
|
case_score, single_idList, many_idList,
|
|
|
|
judge_idList, case_idList, single_answer,
|
|
|
|
judge_idList, case_idList, single_answer,
|
|
|
|
many_answer, judge_answer)
|
|
|
|
many_answer, judge_answer)
|
|
|
|
values (#{examManageId,jdbcType=VARCHAR}, #{examName,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
values (#{examManageId,jdbcType=VARCHAR}, #{examName,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
#{endTime,jdbcType=TIMESTAMP}, #{className,jdbcType=VARCHAR}, #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
#{endTime,jdbcType=TIMESTAMP}, #{classId,jdbcType=VARCHAR}, #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
#{examDescription,jdbcType=VARCHAR}, #{objectiveWeight,jdbcType=DECIMAL}, #{caseWeight,jdbcType=DECIMAL},
|
|
|
|
#{examDescription,jdbcType=VARCHAR}, #{objectiveWeight,jdbcType=DECIMAL}, #{caseWeight,jdbcType=DECIMAL},
|
|
|
|
#{singleScore,jdbcType=DECIMAL}, #{manyScore,jdbcType=DECIMAL}, #{judgeScore,jdbcType=DECIMAL},
|
|
|
|
#{singleScore,jdbcType=DECIMAL}, #{manyScore,jdbcType=DECIMAL}, #{judgeScore,jdbcType=DECIMAL},
|
|
|
|
#{caseScore,jdbcType=DECIMAL}, #{singleIdlist,jdbcType=LONGVARCHAR}, #{manyIdlist,jdbcType=LONGVARCHAR},
|
|
|
|
#{caseScore,jdbcType=DECIMAL}, #{singleIdlist,jdbcType=LONGVARCHAR}, #{manyIdlist,jdbcType=LONGVARCHAR},
|
|
|
@ -170,8 +170,8 @@
|
|
|
|
<if test="endTime != null">
|
|
|
|
<if test="endTime != null">
|
|
|
|
end_time,
|
|
|
|
end_time,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="className != null">
|
|
|
|
<if test="classId != null">
|
|
|
|
class_name,
|
|
|
|
class_id,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="logoAddress != null">
|
|
|
|
<if test="logoAddress != null">
|
|
|
|
logo_address,
|
|
|
|
logo_address,
|
|
|
@ -232,8 +232,8 @@
|
|
|
|
<if test="endTime != null">
|
|
|
|
<if test="endTime != null">
|
|
|
|
#{endTime,jdbcType=TIMESTAMP},
|
|
|
|
#{endTime,jdbcType=TIMESTAMP},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="className != null">
|
|
|
|
<if test="classId != null">
|
|
|
|
#{className,jdbcType=VARCHAR},
|
|
|
|
#{classId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="logoAddress != null">
|
|
|
|
<if test="logoAddress != null">
|
|
|
|
#{logoAddress,jdbcType=VARCHAR},
|
|
|
|
#{logoAddress,jdbcType=VARCHAR},
|
|
|
@ -303,8 +303,8 @@
|
|
|
|
<if test="record.endTime != null">
|
|
|
|
<if test="record.endTime != null">
|
|
|
|
end_time = #{record.endTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{record.endTime,jdbcType=TIMESTAMP},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="record.className != null">
|
|
|
|
<if test="record.classId != null">
|
|
|
|
class_name = #{record.className,jdbcType=VARCHAR},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="record.logoAddress != null">
|
|
|
|
<if test="record.logoAddress != null">
|
|
|
|
logo_address = #{record.logoAddress,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{record.logoAddress,jdbcType=VARCHAR},
|
|
|
@ -362,7 +362,7 @@
|
|
|
|
exam_name = #{record.examName,jdbcType=VARCHAR},
|
|
|
|
exam_name = #{record.examName,jdbcType=VARCHAR},
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{record.endTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{record.endTime,jdbcType=TIMESTAMP},
|
|
|
|
class_name = #{record.className,jdbcType=VARCHAR},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{record.logoAddress,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{record.logoAddress,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{record.examDescription,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{record.examDescription,jdbcType=VARCHAR},
|
|
|
|
Objective_weight = #{record.objectiveWeight,jdbcType=DECIMAL},
|
|
|
|
Objective_weight = #{record.objectiveWeight,jdbcType=DECIMAL},
|
|
|
@ -388,7 +388,7 @@
|
|
|
|
exam_name = #{record.examName,jdbcType=VARCHAR},
|
|
|
|
exam_name = #{record.examName,jdbcType=VARCHAR},
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
|
|
|
start_time = #{record.startTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{record.endTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{record.endTime,jdbcType=TIMESTAMP},
|
|
|
|
class_name = #{record.className,jdbcType=VARCHAR},
|
|
|
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{record.logoAddress,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{record.logoAddress,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{record.examDescription,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{record.examDescription,jdbcType=VARCHAR},
|
|
|
|
Objective_weight = #{record.objectiveWeight,jdbcType=DECIMAL},
|
|
|
|
Objective_weight = #{record.objectiveWeight,jdbcType=DECIMAL},
|
|
|
@ -413,8 +413,8 @@
|
|
|
|
<if test="endTime != null">
|
|
|
|
<if test="endTime != null">
|
|
|
|
end_time = #{endTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{endTime,jdbcType=TIMESTAMP},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="className != null">
|
|
|
|
<if test="classId != null">
|
|
|
|
class_name = #{className,jdbcType=VARCHAR},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="logoAddress != null">
|
|
|
|
<if test="logoAddress != null">
|
|
|
|
logo_address = #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{logoAddress,jdbcType=VARCHAR},
|
|
|
@ -469,7 +469,7 @@
|
|
|
|
set exam_name = #{examName,jdbcType=VARCHAR},
|
|
|
|
set exam_name = #{examName,jdbcType=VARCHAR},
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{endTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{endTime,jdbcType=TIMESTAMP},
|
|
|
|
class_name = #{className,jdbcType=VARCHAR},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{examDescription,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{examDescription,jdbcType=VARCHAR},
|
|
|
|
Objective_weight = #{objectiveWeight,jdbcType=DECIMAL},
|
|
|
|
Objective_weight = #{objectiveWeight,jdbcType=DECIMAL},
|
|
|
@ -492,7 +492,7 @@
|
|
|
|
set exam_name = #{examName,jdbcType=VARCHAR},
|
|
|
|
set exam_name = #{examName,jdbcType=VARCHAR},
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
start_time = #{startTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{endTime,jdbcType=TIMESTAMP},
|
|
|
|
end_time = #{endTime,jdbcType=TIMESTAMP},
|
|
|
|
class_name = #{className,jdbcType=VARCHAR},
|
|
|
|
class_id = #{classId,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
logo_address = #{logoAddress,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{examDescription,jdbcType=VARCHAR},
|
|
|
|
exam_Description = #{examDescription,jdbcType=VARCHAR},
|
|
|
|
Objective_weight = #{objectiveWeight,jdbcType=DECIMAL},
|
|
|
|
Objective_weight = #{objectiveWeight,jdbcType=DECIMAL},
|
|
|
|