x用户-fixed

This commit is contained in:
2025-09-28 16:13:35 +08:00
parent 5042b17c79
commit 1226992c78
4 changed files with 4 additions and 3 deletions

View File

@@ -130,6 +130,7 @@ public class ChargeUserXService {
chargeUserXDetail.setWinGold(gameDayStatData.getWinGold()); chargeUserXDetail.setWinGold(gameDayStatData.getWinGold());
chargeUserXDetail.setPayGold(gameDayStatData.getPayGold()); chargeUserXDetail.setPayGold(gameDayStatData.getPayGold());
chargeUserXDetail.setAdminAdd(0); chargeUserXDetail.setAdminAdd(0);
chargeUserXDetail.setRemark("自动扫描标记");
chargeUserXDetail.setRefStatus(0); chargeUserXDetail.setRefStatus(0);
chargeUserXDetail.setIdentity(1); chargeUserXDetail.setIdentity(1);
chargeUserXDetail.setCreateTime(date); chargeUserXDetail.setCreateTime(date);

View File

@@ -40,7 +40,7 @@
<if test="ip != null and ip != ''"> <if test="ip != null and ip != ''">
and cuxd.uid in (select uid from charge_user_x_record where type = 1 and ip = #{ip}) and cuxd.uid in (select uid from charge_user_x_record where type = 1 and ip = #{ip})
</if> </if>
<if test="device != null device != ''"> <if test="device != null and device != ''">
and cuxd.uid in (select uid from charge_user_x_record where type = 2 and device_id = #{device}) and cuxd.uid in (select uid from charge_user_x_record where type = 2 and device_id = #{device})
</if> </if>
order by cuxd.update_time desc order by cuxd.update_time desc

View File

@@ -13,7 +13,7 @@ public class ChargeUserXTask {
@Autowired @Autowired
private ChargeUserXService chargeUserXService; private ChargeUserXService chargeUserXService;
@Scheduled(cron = "0 0 4 * * *") @Scheduled(cron = "0 0 9 * * *")
public void statDayList() { public void statDayList() {
chargeUserXService.updateUserX(new Date()); chargeUserXService.updateUserX(new Date());
} }

View File

@@ -14,7 +14,7 @@ public class GameDayStatDataTask {
@Autowired @Autowired
private GameDayStatDataService gameDayStatDataService; private GameDayStatDataService gameDayStatDataService;
@Scheduled(cron = "0 0 10 * * *") @Scheduled(cron = "0 0 8 * * *")
public void statDayList() { public void statDayList() {
for (GameConstant.GameChannel gameChannel : GameConstant.GameChannel.values()) { for (GameConstant.GameChannel gameChannel : GameConstant.GameChannel.values()) {
gameDayStatDataService.statDayList(gameChannel.name(), new Date()); gameDayStatDataService.statDayList(gameChannel.name(), new Date());