浏览代码

由于充值实际不扣除手续费,统计不加上手续费

gogs 1 月之前
父节点
当前提交
a642bcafc0
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      game-business/src/main/resources/mapper/business/FinTranRecordMapper.xml

+ 4 - 4
game-business/src/main/resources/mapper/business/FinTranRecordMapper.xml

@@ -279,17 +279,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
         type,
 
-        ifnull(sum(case when coin_type = 0 and rule_id > 0 then (coin + platform_service) else 0.00 end) ,0.00) as coinUpSum,
+        ifnull(sum(case when coin_type = 0 and rule_id > 0 then (coin) else 0.00 end) ,0.00) as coinUpSum,
         ifnull(sum(case when coin_type = 0 and rule_id > 0 then coin else 0.00 end) ,0.00) as actualCoinUpSum,
         ifnull(sum(case when coin_type = 0 and rule_id > 0 then platform_service else 0.00 end) ,0.00) as platformServiceCoinUpSum,
-        ifnull(sum(case when coin_type = 1 and rule_id > 0 then (coin + platform_service) else 0.00 end) ,0.00) as diamondCoinUpSum,
+        ifnull(sum(case when coin_type = 1 and rule_id > 0 then (coin) else 0.00 end) ,0.00) as diamondCoinUpSum,
         ifnull(sum(case when coin_type = 1 and rule_id > 0 then coin else 0.00 end) ,0.00) as actualDiamondCoinUpSum,
         ifnull(sum(case when coin_type = 1 and rule_id > 0 then platform_service else 0.00 end) ,0.00) as platformServiceDiamondCoinUpSum,
 
-        ifnull(sum(case when coin_type = 0 and rule_id = 0 then (coin + platform_service) else 0.00 end) ,0.00) as coinDownSum,
+        ifnull(sum(case when coin_type = 0 and rule_id = 0 then (coin) else 0.00 end) ,0.00) as coinDownSum,
         ifnull(sum(case when coin_type = 0 and rule_id = 0 then coin else 0.00 end) ,0.00) as actualCoinDownSum,
         ifnull(sum(case when coin_type = 0 and rule_id = 0 then platform_service else 0.00 end) ,0.00) as platformServiceCoinDownSum,
-        ifnull(sum(case when coin_type = 1 and rule_id = 0 then (coin + platform_service) else 0.00 end) ,0.00) as diamondCoinDownSum,
+        ifnull(sum(case when coin_type = 1 and rule_id = 0 then (coin) else 0.00 end) ,0.00) as diamondCoinDownSum,
         ifnull(sum(case when coin_type = 1 and rule_id = 0 then coin else 0.00 end) ,0.00) as actualDiamondCoinDownSum,
         ifnull(sum(case when coin_type = 1 and rule_id = 0 then platform_service else 0.00 end) ,0.00) as platformServiceDiamondCoinDownSum