master
james.zhao 6 years ago
parent e4e4d6c60e
commit 01d3e3540b

@ -1107,9 +1107,8 @@
pmt_transactions t pmt_transactions t
LEFT JOIN pmt_orders o ON o.order_id = t.order_id LEFT JOIN pmt_orders o ON o.order_id = t.order_id
LEFT JOIN pmt_refunds r ON r.refund_id = t.refund_id LEFT JOIN pmt_refunds r ON r.refund_id = t.refund_id
LEFT JOIN log_clearing_detail_analysis a ON a.clearing_detail_id = t.clearing_order LEFT JOIN log_clearing_detail_analysis a ON a.clearing_detail_id = t.clearing_order AND t.channel = a.channel
LEFT JOIN sys_clients c ON c.client_id = t.client_id LEFT JOIN sys_clients c ON c.client_id = t.client_id
AND t.channel = a.channel
WHERE t.channel != 'Settlement' WHERE t.channel != 'Settlement'
]]> ]]>
<if test="clientOrders!=null"> <if test="clientOrders!=null">

Loading…
Cancel
Save