master
james.zhao 6 years ago
parent 7e61e0ee0b
commit f337be55fc

@ -1107,9 +1107,8 @@
pmt_transactions t
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 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
AND t.channel = a.channel
WHERE t.channel != 'Settlement'
]]>
<if test="clientOrders!=null">

Loading…
Cancel
Save