INSERT INTO xhpc_app_user app_user_id, phone, weixin_open_id, alipay_open_id, weixin_login, alipay_login, avatar, balance, password, status, is_refund_application, del_flag, create_by, create_time, update_by, update_time, remark #{appUserId}, #{phone}, #{weixinOpenId}, #{alipayOpenId}, #{weixinLogin}, #{alipayLogin}, #{avatar}, #{balance}, #{password}, #{status}, #{isRefundApplication}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark} UPDATE xhpc_app_user phone = #{phone}, weixin_open_id = #{weixinOpenId}, alipay_open_id = #{alipayOpenId}, weixin_login = #{weixinLogin}, alipay_login = #{alipayLogin}, avatar = #{avatar}, balance = #{balance}, password = #{password}, status = #{status}, is_refund_application = #{isRefundApplication}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark} WHERE app_user_id = #{appUserId} update xhpc_app_user set del_flag = 2 where app_user_id = #{appUserId}