select openid, nick_name, appid, phone, avatar_url, sex, city, province, country, create_by, create_time, update_by, update_time, remark from sys_wx_user_info
insert into sys_wx_user_info
openid,
nick_name,
appid,
phone,
avatar_url,
sex,
city,
province,
country,
create_by,
create_time,
update_by,
update_time,
remark,
#{openid},
#{nickName},
#{appid},
#{phone},
#{avatarUrl},
#{sex},
#{city},
#{province},
#{country},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update sys_wx_user_info
nick_name = #{nickName},
appid = #{appid},
phone = #{phone},
avatar_url = #{avatarUrl},
sex = #{sex},
city = #{city},
province = #{province},
country = #{country},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where openid = #{openid}
delete from sys_wx_user_info where openid = #{openid}
delete from sys_wx_user_info where openid in
#{openid}