x用户-fixed
This commit is contained in:
@@ -130,6 +130,7 @@ public class ChargeUserXService {
|
||||
chargeUserXDetail.setWinGold(gameDayStatData.getWinGold());
|
||||
chargeUserXDetail.setPayGold(gameDayStatData.getPayGold());
|
||||
chargeUserXDetail.setAdminAdd(0);
|
||||
chargeUserXDetail.setRemark("自动扫描标记");
|
||||
chargeUserXDetail.setRefStatus(0);
|
||||
chargeUserXDetail.setIdentity(1);
|
||||
chargeUserXDetail.setCreateTime(date);
|
||||
|
@@ -40,7 +40,7 @@
|
||||
<if test="ip != null and ip != ''">
|
||||
and cuxd.uid in (select uid from charge_user_x_record where type = 1 and ip = #{ip})
|
||||
</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})
|
||||
</if>
|
||||
order by cuxd.update_time desc
|
||||
|
@@ -13,7 +13,7 @@ public class ChargeUserXTask {
|
||||
@Autowired
|
||||
private ChargeUserXService chargeUserXService;
|
||||
|
||||
@Scheduled(cron = "0 0 4 * * *")
|
||||
@Scheduled(cron = "0 0 9 * * *")
|
||||
public void statDayList() {
|
||||
chargeUserXService.updateUserX(new Date());
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ public class GameDayStatDataTask {
|
||||
@Autowired
|
||||
private GameDayStatDataService gameDayStatDataService;
|
||||
|
||||
@Scheduled(cron = "0 0 10 * * *")
|
||||
@Scheduled(cron = "0 0 8 * * *")
|
||||
public void statDayList() {
|
||||
for (GameConstant.GameChannel gameChannel : GameConstant.GameChannel.values()) {
|
||||
gameDayStatDataService.statDayList(gameChannel.name(), new Date());
|
||||
|
Reference in New Issue
Block a user