|
|
@@ -21,6 +21,7 @@
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
+ <result property="intention" column="intention_" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.employment.modules.base.entity.PersonInfo">
|
|
|
<!--
|
|
|
@@ -30,7 +31,9 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_person_info
|
|
|
- (id_,user_name,password_,real_name,phone_,id_card,open_id,photo_,gender_,age_,enterprise_id,status_,create_by,create_time,update_by,update_time,del_flag)
|
|
|
+ (id_,user_name,password_,real_name,phone_,id_card,open_id,photo_,gender_,age_,
|
|
|
+ enterprise_id,status_,create_by,create_time,update_by,update_time,del_flag,
|
|
|
+ intention_)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
|
@@ -50,6 +53,7 @@
|
|
|
,#{updateBy,jdbcType=VARCHAR}
|
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
|
+,#{intention,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
|
@@ -107,6 +111,9 @@
|
|
|
<if test="delFlag!=null">
|
|
|
del_flag=#{delFlag,jdbcType= NUMERIC },
|
|
|
</if>
|
|
|
+ <if test="intention!=null">
|
|
|
+ intention_=#{intention,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|