Commit ed304ef2 by 蘑菇🍄

pro

parent dd43d464
...@@ -3,23 +3,23 @@ ...@@ -3,23 +3,23 @@
-- 清除全部导入的数据 -- 清除全部导入的数据
DELETE A FROM tab_gic_mall_order_refund_consult A DELETE A FROM tab_gic_mall_order_refund_consult A
LEFT JOIN tab_gic_mall_order_refund B ON A.order_refund_id=B.order_refund_id LEFT JOIN tab_gic_mall_order_refund B ON A.order_refund_id=B.order_refund_id
WHERE B.enterprise_id = 'ff80808164f65d9501651798e0f8143d' and A.from_erp = 1; WHERE B.enterprise_id = 'ff8080816170e8990161f65038745e4e' and A.from_erp = 1;
DELETE A FROM tab_gic_mall_order_refund_logistics A DELETE A FROM tab_gic_mall_order_refund_logistics A
LEFT JOIN tab_gic_mall_order_refund B ON A.mall_order_id=B.order_id LEFT JOIN tab_gic_mall_order_refund B ON A.mall_order_id=B.order_id
WHERE B.enterprise_id = 'ff80808164f65d9501651798e0f8143d' and A.from_erp = 1; WHERE B.enterprise_id = 'ff8080816170e8990161f65038745e4e' and A.from_erp = 1;
DELETE FROM tab_gic_mall_order WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_order WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_order_item WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_order_item WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_order_logistics WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_order_logistics WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_order_process WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_order_process WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_order_refund WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_order_refund WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_collection WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_collection WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_evaluate WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_evaluate WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_order_batch_deliver_log WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_order_batch_deliver_log WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM tab_gic_mall_shopping_cart WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM tab_gic_mall_shopping_cart WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
DELETE FROM `gic3.0`.tab_gic_member_address WHERE from_erp = 1 and enterprise_id= 'ff80808164f65d9501651798e0f8143d'; DELETE FROM `gic3.0`.tab_gic_member_address WHERE from_erp = 1 and enterprise_id= 'ff8080816170e8990161f65038745e4e';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment