|
@@ -21,6 +21,7 @@
|
|
<result property="position3" column="position3_"/>
|
|
<result property="position3" column="position3_"/>
|
|
<result property="position4" column="position4_"/>
|
|
<result property="position4" column="position4_"/>
|
|
<result property="position5" column="position5_"/>
|
|
<result property="position5" column="position5_"/>
|
|
|
|
+ <result property="faceImageUrl" column="face_image_url"/>
|
|
<result property="delFlag" column="del_flag"/>
|
|
<result property="delFlag" column="del_flag"/>
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="createTime" column="create_time"/>
|
|
@@ -37,14 +38,14 @@
|
|
insert into base_person_info
|
|
insert into base_person_info
|
|
(company_id,name_,phone_,id_card,open_id,face_enabled,card_enabled,
|
|
(company_id,name_,phone_,id_card,open_id,face_enabled,card_enabled,
|
|
app_enabled,password_enabled,guest_enabled,position1_,position2_,
|
|
app_enabled,password_enabled,guest_enabled,position1_,position2_,
|
|
- position3_,position4_,position5_,del_flag,create_by,create_time,update_by,update_time)
|
|
|
|
|
|
+ position3_,position4_,position5_,face_image_url,del_flag,create_by,create_time,update_by,update_time)
|
|
values
|
|
values
|
|
(
|
|
(
|
|
#{companyId,jdbcType=VARCHAR}
|
|
#{companyId,jdbcType=VARCHAR}
|
|
,#{name,jdbcType=VARCHAR}
|
|
,#{name,jdbcType=VARCHAR}
|
|
,#{phone,jdbcType=VARCHAR}
|
|
,#{phone,jdbcType=VARCHAR}
|
|
,#{idCard,jdbcType=VARCHAR}
|
|
,#{idCard,jdbcType=VARCHAR}
|
|
- ,#{openId,jdbcType= NUMERIC }
|
|
|
|
|
|
+ ,#{openId,jdbcType= VARCHAR }
|
|
,#{faceEnabled,jdbcType= NUMERIC }
|
|
,#{faceEnabled,jdbcType= NUMERIC }
|
|
,#{cardEnabled,jdbcType= NUMERIC }
|
|
,#{cardEnabled,jdbcType= NUMERIC }
|
|
,#{appEnabled,jdbcType= NUMERIC }
|
|
,#{appEnabled,jdbcType= NUMERIC }
|
|
@@ -55,6 +56,7 @@
|
|
,#{position3,jdbcType=VARCHAR}
|
|
,#{position3,jdbcType=VARCHAR}
|
|
,#{position4,jdbcType=VARCHAR}
|
|
,#{position4,jdbcType=VARCHAR}
|
|
,#{position5,jdbcType=VARCHAR}
|
|
,#{position5,jdbcType=VARCHAR}
|
|
|
|
+ ,#{face_image_url,jdbcType=VARCHAR}
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
,#{delFlag,jdbcType= NUMERIC }
|
|
,#{createBy,jdbcType=VARCHAR}
|
|
,#{createBy,jdbcType=VARCHAR}
|
|
,#{createTime,jdbcType= TIMESTAMP }
|
|
,#{createTime,jdbcType= TIMESTAMP }
|
|
@@ -82,7 +84,7 @@
|
|
id_card=#{idCard,jdbcType=VARCHAR},
|
|
id_card=#{idCard,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
<if test="openId!=null">
|
|
<if test="openId!=null">
|
|
- open_id=#{openId,jdbcType= NUMERIC },
|
|
|
|
|
|
+ open_id=#{openId,jdbcType= VARCHAR },
|
|
</if>
|
|
</if>
|
|
<if test="faceEnabled!=null">
|
|
<if test="faceEnabled!=null">
|
|
face_enabled=#{faceEnabled,jdbcType= NUMERIC },
|
|
face_enabled=#{faceEnabled,jdbcType= NUMERIC },
|
|
@@ -114,6 +116,9 @@
|
|
<if test="position5!=null">
|
|
<if test="position5!=null">
|
|
position5_=#{position5,jdbcType=VARCHAR},
|
|
position5_=#{position5,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="faceImageUrl!=null">
|
|
|
|
+ face_image_url=#{faceImageUrl,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
<if test="delFlag!=null">
|
|
<if test="delFlag!=null">
|
|
del_flag=#{delFlag,jdbcType= NUMERIC },
|
|
del_flag=#{delFlag,jdbcType= NUMERIC },
|
|
</if>
|
|
</if>
|