|
@@ -12,7 +12,9 @@
|
|
|
<result column="city_" jdbcType="VARCHAR" property="city" />
|
|
|
<result column="school_" jdbcType="VARCHAR" property="school" />
|
|
|
<result column="subject_" jdbcType="VARCHAR" property="subject" />
|
|
|
+ <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="mobile_" jdbcType="VARCHAR" property="mobile" />
|
|
|
<result column="money_" jdbcType="DECIMAL" property="money" />
|
|
|
<result column="memo_" jdbcType="VARCHAR" property="memo" />
|
|
@@ -50,12 +52,12 @@
|
|
|
<!--@mbg.generated-->
|
|
|
insert into degree_registration (sporadic_id_, name_, gender_,
|
|
|
idcard_, city_, school_,
|
|
|
- subject_, theory_level_, mobile_,
|
|
|
+ subject_,level_, theory_level_,theory_money_, 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}, #{theoryLevel,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR},
|
|
|
+ #{subject,jdbcType=VARCHAR},#{level,jdbcType=VARCHAR}, #{theoryLevel,jdbcType=VARCHAR},#{theoryMoney,jdbcType=DECIMAL}, #{mobile,jdbcType=VARCHAR},
|
|
|
#{money,jdbcType=DECIMAL}, #{memo,jdbcType=VARCHAR}, #{createTime},
|
|
|
#{updateTime}, #{status,jdbcType=TINYINT})
|
|
|
</insert>
|
|
@@ -84,9 +86,15 @@
|
|
|
<if test="subject != null">
|
|
|
subject_ = #{subject,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="level != null">
|
|
|
+ level_ = #{level,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="theoryLevel != null">
|
|
|
theory_level_ = #{theoryLevel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="theoryLevel != null">
|
|
|
+ theory_money_ = #{theoryMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
<if test="mobile != null">
|
|
|
mobile_ = #{mobile,jdbcType=VARCHAR},
|
|
|
</if>
|