|
@@ -40,7 +40,7 @@
|
|
|
update_by,
|
|
|
update_time,
|
|
|
remark
|
|
|
- from sim_real_exam_collection
|
|
|
+ from mx_real_exam_collection
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectRealExamCollectionList" parameterType="RealExamCollection" resultMap="RealExamCollectionResult">
|
|
@@ -77,7 +77,7 @@
|
|
|
<selectKey keyProperty="examCollectionId" order="AFTER" resultType="java.lang.Long">
|
|
|
select LAST_INSERT_ID()
|
|
|
</selectKey>
|
|
|
- insert into sim_real_exam_collection
|
|
|
+ insert into mx_real_exam_collection
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="simType != null and simType != ''">sim_type,</if>
|
|
|
<if test="questionSettingMethod != null and questionSettingMethod != ''">question_setting_method,</if>
|
|
@@ -115,7 +115,7 @@
|
|
|
</insert>
|
|
|
|
|
|
<update id="updateRealExamCollection" parameterType="RealExamCollection">
|
|
|
- update sim_real_exam_collection
|
|
|
+ update mx_real_exam_collection
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="simType != null and simType != ''">sim_type = #{simType},</if>
|
|
|
<if test="questionSettingMethod != null and questionSettingMethod != ''">question_setting_method =
|
|
@@ -144,12 +144,12 @@
|
|
|
|
|
|
<delete id="deleteRealExamCollectionByExamCollectionId" parameterType="Long">
|
|
|
delete
|
|
|
- from sim_real_exam_collection
|
|
|
+ from mx_real_exam_collection
|
|
|
where exam_collection_id = #{examCollectionId}
|
|
|
</delete>
|
|
|
|
|
|
<delete id="deleteRealExamCollectionByExamCollectionIds" parameterType="String">
|
|
|
- delete from sim_real_exam_collection where exam_collection_id in
|
|
|
+ delete from mx_real_exam_collection where exam_collection_id in
|
|
|
<foreach item="examCollectionId" collection="array" open="(" separator="," close=")">
|
|
|
#{examCollectionId}
|
|
|
</foreach>
|