归集任务逻辑

This commit is contained in:
lu7213 committed 2026-10-12 11:51:52 -04:00
1 parent 18e3eb8ff0
commit 38d038115a
8 files changed
+488 -126

No files matched your search

@@ -7,17 +7,12 @@ import com.ruoyi.system.service.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* 后台逐地址执行归集任务;每个明细独立失败并继续后续地址。
*/
@Component
@EnableScheduling
public class UsdtAggregationExecutorTask {
private static final Logger log = LoggerFactory.getLogger(UsdtAggregationExecutorTask.class);
@Autowired
@@ -29,7 +24,6 @@ public class UsdtAggregationExecutorTask {
@Autowired
private TronServiceProvider tronServiceProvider;
@Scheduled(fixedDelay = 30000L)
public void executePending() {
ITronService tronService;
try {