-- 1.0.352：清除旧节点无作用域重算残留的 tenant_id=0/1 可重建派生数据。
CREATE TABLE IF NOT EXISTS `dwd_process_outsource_delivery_bak_1_0_352` LIKE `dwd_process_outsource_delivery`;
INSERT IGNORE INTO `dwd_process_outsource_delivery_bak_1_0_352`
SELECT * FROM `dwd_process_outsource_delivery` WHERE `tenant_id` IN (0,1);
DELETE FROM `dwd_process_outsource_delivery` WHERE `tenant_id` IN (0,1);
