游戏sqlbug_fixed
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
|
||||
<select id="userTotalStat" resultType="com.accompany.sharding.vo.GameUserDataDetailVo">
|
||||
select
|
||||
ifnull(sum(gr.`bet`), 0) payGold,
|
||||
ifnull(sum(gr.`pay`), 0) winGold
|
||||
sum(gr.`bet`) payGold,
|
||||
sum(gr.`pay`) winGold
|
||||
from joy_game_record gr
|
||||
left join users u on gr.uid = u.uid
|
||||
where gr.create_time >= #{beginTime}
|
||||
|
Reference in New Issue
Block a user