Upd:财务报表修改获取数据来源

master
duLingLing 5 years ago
parent d7fd91162e
commit 638cbfd595

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.0.38</version>
<version>1.0.39</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -1220,7 +1220,7 @@
<select id="getSettleDataDailyReport" resultType="com.alibaba.fastjson.JSONObject">
SELECT
channel,
SUM(IF(transaction_type = 'Credit', settle_amount, 0)) AS settle_amount,
SUM(IF(transaction_type = 'Credit', settle_amount, -settle_amount)) AS settle_amount,
SUM(IF(transaction_type = 'Credit', clearing_amount, 0)) AS credit_amount,
SUM(IF(transaction_type = 'Credit', 0, -clearing_amount)) AS debit_amount,
SUM(IF(transaction_type = 'Credit', clearing_amount, -clearing_amount)) AS net_trading,

Loading…
Cancel
Save