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