x用户-fixed
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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
|
||||||
|
@@ -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());
|
||||||
}
|
}
|
||||||
|
@@ -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());
|
||||||
|
Reference in New Issue
Block a user