dos преди 3 месеца
родител
ревизия
a8ee44a2a1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      game-business/src/main/java/com/game/business/task/AppUserCountTask.java

+ 1 - 1
game-business/src/main/java/com/game/business/task/AppUserCountTask.java

@@ -88,7 +88,7 @@ public class AppUserCountTask {
                     appUserCount.setAgentUserId(appUser.getPid());
                     appUserCount.setUpdate(true);//全量更新
                     //充值总额
-                    appUserCount.setRechargeAmount(appUsersChargeList.stream().filter(e -> e.getUid().equals(appUser.getUserid())).mapToDouble(e -> e.getMoney().doubleValue()).sum());
+                    appUserCount.setRechargeAmount(appUsersChargeList.stream().filter(e -> e.getUid().equals(appUser.getUserid())).mapToDouble(e -> e.getCoin().doubleValue()).sum());
                     //提现金额
                     appUserCount.setWithdrawalAmount(appUsersCashrecords.stream().filter(e -> e.getUid().equals(appUser.getUserid())).mapToDouble(e -> e.getMoney().doubleValue()).sum());
                     //充值服务费/手续费