|
@@ -29,6 +29,8 @@
|
|
<result property="updateBy" column="update_by"/>
|
|
<result property="updateBy" column="update_by"/>
|
|
<result property="updateTime" column="update_time"/>
|
|
<result property="updateTime" column="update_time"/>
|
|
<result property="popedom" column="popedom_"/>
|
|
<result property="popedom" column="popedom_"/>
|
|
|
|
+ <result property="wechatNoticeEnabled" column="wechat_notice_enabled"/>
|
|
|
|
+
|
|
</resultMap>
|
|
</resultMap>
|
|
<insert id="insert" parameterType="com.jpsoft.smart.modules.base.entity.PersonInfo">
|
|
<insert id="insert" parameterType="com.jpsoft.smart.modules.base.entity.PersonInfo">
|
|
<!--
|
|
<!--
|
|
@@ -41,7 +43,7 @@
|
|
(company_id,name_,phone_,id_card,open_id,face_enabled,face_bound,card_enabled,
|
|
(company_id,name_,phone_,id_card,open_id,face_enabled,face_bound,card_enabled,
|
|
app_enabled,password_enabled,guest_enabled,position1_,position2_,
|
|
app_enabled,password_enabled,guest_enabled,position1_,position2_,
|
|
position3_,position4_,position5_,face_image_url,del_flag,
|
|
position3_,position4_,position5_,face_image_url,del_flag,
|
|
- create_by,create_time,update_by,update_time,popedom_)
|
|
|
|
|
|
+ create_by,create_time,update_by,update_time,popedom_,wechat_notice_enabled)
|
|
values
|
|
values
|
|
(
|
|
(
|
|
#{companyId,jdbcType=VARCHAR}
|
|
#{companyId,jdbcType=VARCHAR}
|
|
@@ -67,6 +69,7 @@
|
|
,#{updateBy,jdbcType=VARCHAR}
|
|
,#{updateBy,jdbcType=VARCHAR}
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
,#{updateTime,jdbcType= TIMESTAMP }
|
|
,#{popedom,jdbcType= VARCHAR }
|
|
,#{popedom,jdbcType= VARCHAR }
|
|
|
|
+ ,#{wechatNoticeEnabled,jdbcType= NUMERIC }
|
|
)
|
|
)
|
|
]]>
|
|
]]>
|
|
</insert>
|
|
</insert>
|
|
@@ -145,6 +148,9 @@
|
|
<if test="popedom!=null">
|
|
<if test="popedom!=null">
|
|
popedom_=#{popedom,jdbcType= VARCHAR },
|
|
popedom_=#{popedom,jdbcType= VARCHAR },
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="wechatNoticeEnabled!=null">
|
|
|
|
+ wechat_notice_enabled=#{wechatNoticeEnabled,jdbcType= NUMERIC },
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id_=#{id}
|
|
where id_=#{id}
|
|
</update>
|
|
</update>
|