|
|
@@ -16,6 +16,7 @@
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="type" column="type_" />
|
|
|
+ <result property="regionValue" column="region_value" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.employment.modules.base.entity.AddressInfo">
|
|
|
<!--
|
|
|
@@ -25,7 +26,7 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_address_info
|
|
|
- (id_,recipients_,phone_,region_,detail_address,reg_user_id,create_by,create_time,update_by,update_time,del_flag,type_)
|
|
|
+ (id_,recipients_,phone_,region_,detail_address,reg_user_id,create_by,create_time,update_by,update_time,del_flag,type_,region_value)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
|
@@ -40,6 +41,7 @@
|
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
,#{type,jdbcType=VARCHAR}
|
|
|
+,#{regionValue,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
|
@@ -82,6 +84,9 @@
|
|
|
<if test="type!=null">
|
|
|
type_=#{type,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="regionValue!=null">
|
|
|
+ region_value=#{regionValue,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|