upd:交易流水汇总信息,统计交易流水数量字段变更

master
dulingling 4 years ago
parent 99126a7e73
commit a52ce2ff7e

@ -9,7 +9,7 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>2.3.43</version> <version>2.3.44</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>2.4.0</jib-maven-plugin.version> <jib-maven-plugin.version>2.4.0</jib-maven-plugin.version>

@ -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,

Loading…
Cancel
Save