INSERT INTO xfsg_partner_user_wechat_bind ( open_id, bind_time, partner_id, union_id, create_time ) VALUES ( #{openId, jdbcType=VARCHAR}, #{bindTime, jdbcType=TIMESTAMP}, #{partnerId, jdbcType=VARCHAR}, #{unionId, jdbcType=VARCHAR}, #{createTime, jdbcType=TIMESTAMP} ) UPDATE xfsg_partner_user_wechat_bind union_id = #{unionId, jdbcType=VARCHAR}, where id = #{id} UPDATE xfsg_partner_user_wechat_bind set service_account_open_id = #{serviceAccountOpenId} where union_id = #{unionId}