浏览代码

删除字段映射。

tom 2 周之前
父节点
当前提交
c7b80f3b0a
共有 1 个文件被更改,包括 1 次插入13 次删除
  1. 1 13
      ruoyi-sim/src/main/resources/mapper/sim/RealExamScoreMapper.xml

+ 1 - 13
ruoyi-sim/src/main/resources/mapper/sim/RealExamScoreMapper.xml

@@ -25,8 +25,6 @@
         <result property="otherReplace" column="other_replace"/>
         <result property="otherReport" column="other_report"/>
         <result property="otherJielun" column="other_jielun"/>
-        <result property="createTime" column="createtime"/>
-        <result property="updateTime" column="updatetime"/>
     </resultMap>
 
     <sql id="selectMxRealExamScoreVo">
@@ -49,9 +47,7 @@
                overtime_score,
                other_replace,
                other_report,
-               other_jielun,
-               createtime,
-               updatetime
+               other_jielun
         from mx_real_exam_score
     </sql>
 
@@ -77,8 +73,6 @@
             <if test="otherReplace != null  and otherReplace != ''">and other_replace = #{otherReplace}</if>
             <if test="otherReport != null  and otherReport != ''">and other_report = #{otherReport}</if>
             <if test="otherJielun != null  and otherJielun != ''">and other_jielun = #{otherJielun}</if>
-            <if test="createTime != null ">and createtime = #{createTime}</if>
-            <if test="updateTime != null ">and updatetime = #{updateTime}</if>
         </where>
     </select>
 
@@ -109,8 +103,6 @@
             <if test="otherReplace != null">other_replace,</if>
             <if test="otherReport != null">other_report,</if>
             <if test="otherJielun != null">other_jielun,</if>
-            <if test="createTime != null">createtime,</if>
-            <if test="updateTime != null">updatetime,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="examCollectionId != null">#{examCollectionId},</if>
@@ -132,8 +124,6 @@
             <if test="otherReplace != null">#{otherReplace},</if>
             <if test="otherReport != null">#{otherReport},</if>
             <if test="otherJielun != null">#{otherJielun},</if>
-            <if test="createTime != null">#{createTime},</if>
-            <if test="updateTime != null">#{updateTime},</if>
         </trim>
     </insert>
 
@@ -159,8 +149,6 @@
             <if test="otherReplace != null">other_replace = #{otherReplace},</if>
             <if test="otherReport != null">other_report = #{otherReport},</if>
             <if test="otherJielun != null">other_jielun = #{otherJielun},</if>
-            <if test="createTime != null">createtime = #{createTime},</if>
-            <if test="updateTime != null">updatetime = #{updateTime},</if>
         </trim>
         where id = #{id}
     </update>