|
@@ -210,7 +210,7 @@ public class AppUserCountServiceImpl extends ServiceImpl<AppUserCountMapper, App
|
|
|
appUserCount.setGameCommission(gameRecordCountList.stream().filter(e -> e.getUserId().equals(userId)).mapToDouble(e -> e.getCommission()).sum());
|
|
|
|
|
|
if(userId.equals(appGameBetting.getUserId())) {
|
|
|
- appUserCount.setGameBetting(appUserCount.getGameBetting() + appGameBetting.getBettingAmount());
|
|
|
+ appUserCount.setGameBetting(appGameBetting.getBettingAmount());
|
|
|
}
|
|
|
this.createAppUserCount(appUserCount);
|
|
|
});
|