|
@@ -24,6 +24,7 @@
|
|
|
<result property="intention" column="intention_" />
|
|
|
<result property="isAnonymous" column="is_anonymous" />
|
|
|
<result property="jobStatus" column="job_status" />
|
|
|
+ <result property="phoneLastUpdateTime" column="phone_last_update_time" />
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.employment.modules.base.entity.PersonInfo">
|
|
|
<!--
|
|
@@ -35,7 +36,7 @@
|
|
|
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,
|
|
|
- intention_,is_anonymous,job_status)
|
|
|
+ intention_,is_anonymous,job_status,phone_last_update_time)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -58,6 +59,7 @@
|
|
|
,#{intention,jdbcType=VARCHAR}
|
|
|
,#{isAnonymous,jdbcType= NUMERIC }
|
|
|
,#{jobStatus,jdbcType=VARCHAR}
|
|
|
+,#{phoneLastUpdateTime,jdbcType= TIMESTAMP }
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -124,6 +126,9 @@
|
|
|
<if test="jobStatus!=null">
|
|
|
job_status=#{jobStatus,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="phoneLastUpdateTime!=null">
|
|
|
+ phone_last_update_time=#{phoneLastUpdateTime,jdbcType= TIMESTAMP },
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|