|
@@ -216,8 +216,8 @@ public class AppUserCountServiceImpl extends ServiceImpl<AppUserCountMapper, App
|
|
|
appUserCount.setUpdateTime(finalCurDate);
|
|
|
//游戏佣金 更新所有用户
|
|
|
appUserCount.setGameCommission(gameRecordCountList.stream().filter(e -> e.getUserId().equals(userId)).mapToDouble(e -> e.getCommission()).sum());
|
|
|
- //游戏下注金额 更新当前下注用户
|
|
|
- if(userId.equals(appGameBetting.getUserId())) {
|
|
|
+ //游戏下注金额 更新当前下注用户 (非金币)
|
|
|
+ if(userId.equals(appGameBetting.getUserId()) && appGameBetting.getBettingType().intValue() == 0) {
|
|
|
appUserCount.setGameBetting(appGameBetting.getBettingAmount());
|
|
|
}
|
|
|
this.createAppUserCount(appUserCount);
|