|
@@ -192,7 +192,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
IFNULL(sum(b.game_betting),0) as bettingAmount,
|
|
IFNULL(sum(b.game_betting),0) as bettingAmount,
|
|
IFNULL(sum(b.game_commission),0) as gameCommission,
|
|
IFNULL(sum(b.game_commission),0) as gameCommission,
|
|
IFNULL(sum(b.live_commission),0) as liveCommission,
|
|
IFNULL(sum(b.live_commission),0) as liveCommission,
|
|
- IFNULL(sum(b.game_win_amount - b.game_lose_amount),0) as gameAmount,
|
|
|
|
|
|
+ IFNULL(sum((b.game_win_amount - (b.game_betting - b.game_lose_amount)) - b.game_lose_amount + b.game_commission + b.recharge_give),0) as gameAmount,
|
|
IFNULL(sum(b.recharge_amount),0) as rechargeAmount,
|
|
IFNULL(sum(b.recharge_amount),0) as rechargeAmount,
|
|
IFNULL(sum(b.recharge_commission),0) as rechargeCommission,
|
|
IFNULL(sum(b.recharge_commission),0) as rechargeCommission,
|
|
IFNULL(sum(b.recharge_give),0) as rechargeGive,
|
|
IFNULL(sum(b.recharge_give),0) as rechargeGive,
|