|
@@ -15,6 +15,7 @@
|
|
|
<result column="level_" jdbcType="VARCHAR" property="level" />
|
|
|
<result column="theory_level_" jdbcType="VARCHAR" property="theoryLevel" />
|
|
|
<result column="theory_money_" jdbcType="DECIMAL" property="theoryMoney" />
|
|
|
+ <result column="theory_cert_" jdbcType="VARCHAR" property="theoryCert" />
|
|
|
<result column="mobile_" jdbcType="VARCHAR" property="mobile" />
|
|
|
<result column="money_" jdbcType="DECIMAL" property="money" />
|
|
|
<result column="memo_" jdbcType="VARCHAR" property="memo" />
|
|
@@ -52,13 +53,13 @@
|
|
|
<!--@mbg.generated-->
|
|
|
insert into degree_registration (sporadic_id_, name_, gender_,
|
|
|
idcard_, city_, school_,
|
|
|
- subject_,level_, theory_level_,theory_money_, mobile_,
|
|
|
+ subject_,level_, theory_level_,theory_money_, theory_cert_,mobile_,
|
|
|
money_, memo_, create_time_,
|
|
|
update_time_, status_)
|
|
|
values (#{sporadicId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{gender,jdbcType=VARCHAR},
|
|
|
#{idcard,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{school,jdbcType=VARCHAR},
|
|
|
- #{subject,jdbcType=VARCHAR},#{level,jdbcType=VARCHAR}, #{theoryLevel,jdbcType=VARCHAR},#{theoryMoney,jdbcType=DECIMAL}, #{mobile,jdbcType=VARCHAR},
|
|
|
- #{money,jdbcType=DECIMAL}, #{memo,jdbcType=VARCHAR}, #{createTime},
|
|
|
+ #{subject,jdbcType=VARCHAR},#{level,jdbcType=VARCHAR}, #{theoryLevel,jdbcType=VARCHAR},#{theoryMoney,jdbcType=DECIMAL},
|
|
|
+ #{theoryLevel,jdbcType=VARCHAR}#{mobile,jdbcType=VARCHAR},#{money,jdbcType=DECIMAL}, #{memo,jdbcType=VARCHAR}, #{createTime},
|
|
|
#{updateTime}, #{status,jdbcType=TINYINT})
|
|
|
</insert>
|
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.DegreeRegistration">
|
|
@@ -95,6 +96,9 @@
|
|
|
<if test="theoryLevel != null">
|
|
|
theory_money_ = #{theoryMoney,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
+ <if test="theoryLevel != null">
|
|
|
+ theory_cert_ = #{theoryCert,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="mobile != null">
|
|
|
mobile_ = #{mobile,jdbcType=VARCHAR},
|
|
|
</if>
|