|
|
|
@ -920,7 +920,8 @@
|
|
|
|
|
t.exchange_rate,
|
|
|
|
|
t.clearing_status,
|
|
|
|
|
t.settle_amount,
|
|
|
|
|
t.clearing_status = 2 pre_auth
|
|
|
|
|
t.clearing_status = 2 pre_auth,
|
|
|
|
|
IF( t.remark like '%RYCBSM%',1,0) as geek_apply_deduction
|
|
|
|
|
from pmt_orders o
|
|
|
|
|
left join pmt_transactions t on t.order_id=o.order_id and t.channel!='Settlement'
|
|
|
|
|
AND (t.system_generate = 0 or (t.system_generate = 1 and t.remark like '%RYCBSM%'))
|
|
|
|
|