id, last_login_time, last_login_ip, nickname, mobile, avatar, openid, unionid, status, add_time, update_time, user_id insert into t_wechat_user (id, last_login_time, last_login_ip, nickname, mobile, avatar, openid, unionid, status, add_time, update_time, user_id ) values (#{id,jdbcType=BIGINT}, #{lastLoginTime,jdbcType=TIMESTAMP}, #{lastLoginIp,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR}, #{openid,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{addTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{userId,jdbcType=BIGINT} ) insert into t_wechat_user id, last_login_time, last_login_ip, nickname, mobile, avatar, openid, unionid, status, add_time, update_time, user_id, #{id,jdbcType=BIGINT}, #{lastLoginTime,jdbcType=TIMESTAMP}, #{lastLoginIp,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR}, #{openid,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{addTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{userId,jdbcType=BIGINT}, update t_wechat_user last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP}, last_login_ip = #{lastLoginIp,jdbcType=VARCHAR}, nickname = #{nickname,jdbcType=VARCHAR}, mobile = #{mobile,jdbcType=VARCHAR}, avatar = #{avatar,jdbcType=VARCHAR}, openid = #{openid,jdbcType=VARCHAR}, unionid = #{unionid,jdbcType=VARCHAR}, status = #{status,jdbcType=TINYINT}, add_time = #{addTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, user_id = #{userId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update t_wechat_user set last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP}, last_login_ip = #{lastLoginIp,jdbcType=VARCHAR}, nickname = #{nickname,jdbcType=VARCHAR}, mobile = #{mobile,jdbcType=VARCHAR}, avatar = #{avatar,jdbcType=VARCHAR}, openid = #{openid,jdbcType=VARCHAR}, unionid = #{unionid,jdbcType=VARCHAR}, status = #{status,jdbcType=TINYINT}, add_time = #{addTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, user_id = #{userId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} update t_wechat_user set user_id = #{userId,jdbcType=BIGINT} where openid = #{openid,jdbcType=VARCHAR} update t_wechat_user set user_id = #{userId,jdbcType=BIGINT} where unionid = #{unionid,jdbcType=VARCHAR}