|
|
@ -290,7 +290,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<select id="analysisTransFlow" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
<select id="analysisTransFlow" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
SELECT
|
|
|
|
SELECT
|
|
|
|
count(DISTINCT o.order_id) order_count,
|
|
|
|
count(t.transaction_id) order_count,
|
|
|
|
ifnull(sum(if(t.transaction_type='Credit' and t.refund_id is null and t.system_generate=0 and
|
|
|
|
ifnull(sum(if(t.transaction_type='Credit' and t.refund_id is null and t.system_generate=0 and
|
|
|
|
o.currency!='CNY',o.display_amount,0)),0)
|
|
|
|
o.currency!='CNY',o.display_amount,0)),0)
|
|
|
|
display_amount,
|
|
|
|
display_amount,
|
|
|
|