9 lines
620 B
SQL
9 lines
620 B
SQL
update prd_base_info set acct_type = 'ZY' where prd_code = 'RXX110001';
|
|
update pay_credit_app set acct_type = 'ZY' where prd_code = 'RXX110001' and acct_type = 'LH';
|
|
update biz_cus_acct set acct_type = 'ZY' where cont_no in (select cont_no from ctr_loan_cont where prd_code = 'RXX110001') and acct_type = 'LH';
|
|
update pay_payout_app set acct_type = 'ZY' where prd_code = 'RXX110001' and acct_type = 'LH';
|
|
insert into fac_loan_duebill select * from fac_loan_duebill_20220425_tmp;
|
|
|
|
update biz_accounting_record set accounting_stats ='1';
|
|
insert into biz_accounting_detail select * from biz_accounting_detail_20220425_tmp;
|