浏览代码

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

dos 2 周之前
父节点
当前提交
dfcc668247
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      game-business/src/main/java/com/game/business/task/AppUserCountTask.java

+ 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");
                 //查询用户所有下级本周盈亏