Explorar o código

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

gogs hai 1 mes
pai
achega
a642bcafc0

+ 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