Parcourir la source

有亏损且分红比例为零的也生成分红记录

dos il y a 2 semaines
Parent
commit
dfcc668247

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

@@ -476,10 +476,10 @@ public class AppUserCountTask {
             Date finalEndTime = endTime;
             list.forEach(appUser -> {
                 AppUserAgent userAgent = appUserAgentService.selectInfo(appUser.getUserid());
-                if (userAgent.getDividendGuaranteeRate() <= 0.00) {
+                /*if (userAgent.getDividendGuaranteeRate() <= 0.00) {
                     log.info("用户{},未设置分红比例,停止分红", userAgent.getUserId());
                     return;
-                }
+                }*/
                 String beginTimeStr = DateUtil.format(finalBeginTime,"yyyy-MM-dd");
                 String endTimeStr = DateUtil.format(finalEndTime,"yyyy-MM-dd");
                 //查询用户所有下级本周盈亏