|
|
|
@ -938,11 +938,11 @@
|
|
|
|
|
t.channel,
|
|
|
|
|
t.surcharge_rate,
|
|
|
|
|
t.transaction_time,
|
|
|
|
|
if(t.transaction_type = 'Credit', t.clearing_amount, -t.clearing_amount) clearing_amount,
|
|
|
|
|
if(t.transaction_type = 'Credit', t.total_surcharge, -t.total_surcharge) total_surcharge,
|
|
|
|
|
if(t.transaction_type = 'Credit', t.transaction_fee, -t.transaction_fee) transaction_fee,
|
|
|
|
|
if(t.transaction_type = 'Credit', t.channel_surcharge, -t.channel_surcharge) channel_surcharge,
|
|
|
|
|
if(t.transaction_type = 'Credit', t.settle_amount, -t.settle_amount) settle_amount,
|
|
|
|
|
IF( t.transaction_type = 'Credit', t.clearing_amount,-(if(t.clearing_amount>=0,t.clearing_amount, - t.clearing_amount))) clearing_amount,
|
|
|
|
|
IF( t.transaction_type = 'Credit', t.total_surcharge, -(if(t.total_surcharge>=0,t.total_surcharge, - t.total_surcharge))) total_surcharge,
|
|
|
|
|
IF( t.transaction_type = 'Credit', t.transaction_fee, -(if(t.transaction_fee>=0,t.transaction_fee, - t.transaction_fee))) transaction_fee,
|
|
|
|
|
IF( t.transaction_type = 'Credit', t.channel_surcharge, - (if(t.channel_surcharge>=0,t.channel_surcharge, - t.channel_surcharge))) channel_surcharge,
|
|
|
|
|
IF( t.transaction_type = 'Credit', t.settle_amount, - (if(t.settle_amount>=0,t.settle_amount, - t.settle_amount)) ) settle_amount,
|
|
|
|
|
t.order_id,
|
|
|
|
|
t.org_rate,
|
|
|
|
|
t.surcharge_cashback,
|
|
|
|
|