Kaynağa Gözat

考级报名

zouxuan 2 yıl önce
ebeveyn
işleme
69203ea165

+ 4 - 15
mec-biz/src/main/resources/config/mybatis/DegreeRegistrationMapper.xml

@@ -140,22 +140,19 @@
         insert into degree_registration (user_id_,degree_id_,organ_id_,order_no_, name_, gender_,
         idcard_, city_, school_,
         subject_id_,level_, theory_cert_,mobile_,
-        money_, memo_, create_time_,
-        update_time_, status_,certificate_type_,tenant_id_,type_)
+        money_, memo_,status_,certificate_type_,tenant_id_,type_)
         values (#{userId},#{degreeId},#{organId,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{gender,jdbcType=VARCHAR},
         #{idcard,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{school,jdbcType=VARCHAR},
         #{subjectId},#{level,jdbcType=VARCHAR},
         #{theoryCert,jdbcType=VARCHAR},#{mobile,jdbcType=VARCHAR},#{money,jdbcType=DECIMAL}, #{memo,jdbcType=VARCHAR},
-        #{createTime}, #{updateTime}, #{status,jdbcType=TINYINT},
-                #{certificateType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
+        #{status,jdbcType=TINYINT},#{certificateType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
                 #{tenantId},#{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler})
     </insert>
     <insert id="batchInsert">
         INSERT INTO degree_registration (user_id_,degree_id_,organ_id_,order_no_, name_, gender_,
         idcard_, city_, school_,
         subject_id_,level_, theory_cert_,mobile_,
-        money_, memo_, create_time_,
-        update_time_, status_,certificate_type_,tenant_id_,type_)
+        money_, memo_,status_,certificate_type_,tenant_id_,type_)
         VALUE
         <foreach collection="degreeRegistrationList" separator="," item="degreeRegistration">
             (#{degreeRegistration.userId},#{degreeRegistration.degreeId,jdbcType=INTEGER},#{degreeRegistration.organId,jdbcType=INTEGER},
@@ -163,7 +160,7 @@
             #{degreeRegistration.idcard,jdbcType=VARCHAR}, #{degreeRegistration.city,jdbcType=VARCHAR}, #{degreeRegistration.school,jdbcType=VARCHAR},
             #{degreeRegistration.subjectId},#{degreeRegistration.level,jdbcType=VARCHAR},
             #{degreeRegistration.theoryCert,jdbcType=VARCHAR},#{degreeRegistration.mobile,jdbcType=VARCHAR},#{degreeRegistration.money,jdbcType=DECIMAL}, #{degreeRegistration.memo,jdbcType=VARCHAR},
-            #{degreeRegistration.createTime}, #{degreeRegistration.updateTime}, #{degreeRegistration.status,jdbcType=TINYINT},
+            #{degreeRegistration.status,jdbcType=TINYINT},
             #{degreeRegistration.certificateType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
             #{degreeRegistration.tenantId},#{degreeRegistration.type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler})
         </foreach>
@@ -220,16 +217,12 @@
             <if test="memo != null">
                 memo_ = #{memo,jdbcType=VARCHAR},
             </if>
-            <if test="createTime != null">
-                create_time_ = #{createTime},
-            </if>
             <if test="status != null">
                 status_ = #{status,jdbcType=INTEGER},
             </if>
             <if test="certificateType != null">
                 certificate_type_ = #{certificateType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
             </if>
-                update_time_ = NOW()
         </set>
         where id_ = #{id,jdbcType=INTEGER} and tenant_id_ = #{tenantId}
     </update>
@@ -286,16 +279,12 @@
                 <if test="degree.memo != null">
                     memo_ = #{degree.memo,jdbcType=VARCHAR},
                 </if>
-                <if test="degree.createTime != null">
-                    create_time_ = #{degree.createTime},
-                </if>
                 <if test="degree.status != null">
                     status_ = #{degree.status,jdbcType=INTEGER},
                 </if>
 	            <if test="degree.certificateType != null">
 	                certificate_type_ = #{degree.certificateType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
 	            </if>
-                    update_time_ = NOW()
             </set>
             where id_ = #{degree.id,jdbcType=INTEGER} and tenant_id_ = #{degree.tenantId}
         </foreach>