insert into customer_user_info
id,
cid,
name,
sex,
mobile,
tel_num,
email,
qq,
wechat,
depatrment,
customer_position,
remarks,
#{id,jdbcType=VARCHAR},
#{cid,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{sex,jdbcType=CHAR},
#{mobile,jdbcType=VARCHAR},
#{telNum,jdbcType=VARCHAR},
#{email,jdbcType=VARCHAR},
#{qq,jdbcType=VARCHAR},
#{wechat,jdbcType=VARCHAR},
#{depatrment,jdbcType=VARCHAR},
#{customerPosition,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
delete from customer_user_info
where cid = #{cid,jdbcType=VARCHAR}
update customer_user_info
cid = #{cid,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
sex = #{sex,jdbcType=INTEGER},
mobile = #{mobile,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
qq = #{qq,jdbcType=VARCHAR},
wechat = #{wechat,jdbcType=VARCHAR},
depatrment = #{depatrment,jdbcType=VARCHAR},
customer_position = #{customerPosition,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
where cid = #{cid,jdbcType=VARCHAR}