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