-- 池州春芳商贸数据清理
-- 执行时间：2026-06-01 17:06:41
-- 数据范围：93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245

SET @scope_sql := '93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245';

START TRANSACTION;

CREATE TABLE IF NOT EXISTS wa_users_bak_20260601_170641 AS
SELECT * FROM wa_users WHERE id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS eb_user_bak_20260601_170641 AS
SELECT * FROM eb_user WHERE uid IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS wa_order_bak_20260601_170641 AS
SELECT * FROM wa_order
WHERE seller_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245)
   OR buyer_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS wa_merchandise_bak_20260601_170641 AS
SELECT * FROM wa_merchandise WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS wa_selfbonus_log_bak_20260601_170641 AS
SELECT * FROM wa_selfbonus_log WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS wa_sharebonus_log_bak_20260601_170641 AS
SELECT * FROM wa_sharebonus_log WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS wa_coupon_log_bak_20260601_170641 AS
SELECT * FROM wa_coupon_log WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS wa_withdraw_bak_20260601_170641 AS
SELECT * FROM wa_withdraw WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS eb_store_order_bak_20260601_170641 AS
SELECT * FROM eb_store_order WHERE uid IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

CREATE TABLE IF NOT EXISTS eb_user_integral_record_bak_20260601_170641 AS
SELECT * FROM eb_user_integral_record WHERE uid IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

DELETE FROM wa_users WHERE id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM eb_user WHERE uid IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM wa_order WHERE seller_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245) OR buyer_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM wa_merchandise WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM wa_selfbonus_log WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM wa_sharebonus_log WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM wa_coupon_log WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM wa_withdraw WHERE user_id IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM eb_store_order WHERE uid IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);
DELETE FROM eb_user_integral_record WHERE uid IN (93119,93132,93133,93134,93156,93163,93172,93173,93183,93187,93188,93190,93191,93193,93195,93197,93198,93199,93209,93212,93214,93215,93220,93221,93224,93226,93230,93235,93239,93240,93245);

COMMIT;
