Commit d19b93c2 by 周立明

sql

1 parent 24800dc2
...@@ -14,7 +14,7 @@ where a.deleted_flag='N' and division_flag='Y' and a.reality_division_yq_merchan ...@@ -14,7 +14,7 @@ where a.deleted_flag='N' and division_flag='Y' and a.reality_division_yq_merchan
update dj_car_life_online_statement_account_trade_detail set reality_platform_merchant_id=null,reality_platform_merchant_name=null where deleted_flag='N'; update dj_car_life_online_statement_account_trade_detail set reality_platform_merchant_id=null,reality_platform_merchant_name=null where deleted_flag='N';
-- 排除欢腾收款主体 -- 排除欢腾收款主体
update dj_car_life_online_statement_account_trade_detail,dj_car_life_pay_order b,dj_platform_payment.dj_payment_trade_order c update dj_car_life_online_statement_account_trade_detail a,dj_car_life_pay_order b,dj_platform_payment.dj_payment_trade_order c
set a.deleted_flag='D',a.updated_by='zhoulm_v5.8.2.2',a.updated_date=NOW() WHERE a.deleted_flag='N' and c.payee_usercode='826584355330285' and b.id=a.pay_order_id and b.deleted_flag='N' set a.deleted_flag='D',a.updated_by='zhoulm_v5.8.2.2',a.updated_date=NOW() WHERE a.deleted_flag='N' and c.payee_usercode='826584355330285' and b.id=a.pay_order_id and b.deleted_flag='N'
and c.out_trade_no=b.out_trade_no and c.deleted_flag='N'; and c.out_trade_no=b.out_trade_no and c.deleted_flag='N';
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!