定时人物迁移

This commit is contained in:
lu7213 committed 2026-10-10 11:50:35 -04:00
1 parent c0868f9d8f
commit 32e7466615
2 files changed
+5 -4

No files matched your search

@@ -1,4 +1,4 @@
package com.ruoyi.system.service.impl; package com.ruoyi.task;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ruoyi.system.domain.UsdtOrdersPlus; import com.ruoyi.system.domain.UsdtOrdersPlus;
@@ -6,11 +6,12 @@ import com.ruoyi.system.service.IUsdtOrdersService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.util.Date; import java.util.Date;
/** 支付订单生命周期任务:先处理过期订单,链上入账由独立扫描器补充。 */ /** 支付订单生命周期任务:先处理过期订单,链上入账由独立扫描器补充。 */
@Component @Component
public class PaymentOrderMonitor { public class PaymentOrderExpireTask {
@Autowired private IUsdtOrdersService orders; @Autowired private IUsdtOrdersService orders;
@Scheduled(fixedDelay = 30000L) @Scheduled(fixedDelay = 30000L)
@@ -1,4 +1,4 @@
package com.ruoyi.system.service.impl; package com.ruoyi.task;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
@@ -20,7 +20,7 @@ import java.util.Date;
* 轮询已确认 TRC20 转账,按地址、六位金额和唯一交易哈希入账。 * 轮询已确认 TRC20 转账,按地址、六位金额和唯一交易哈希入账。
*/ */
@Component @Component
public class TronPaymentScanner { public class TronPaymentTask {
@Autowired @Autowired
private IUsdtOrdersService orders; private IUsdtOrdersService orders;
@Autowired @Autowired