暂时不用原生进件 删除定时任务

This commit is contained in:
gong
2026-01-31 14:23:02 +08:00
parent c9e154299b
commit 77334e3e73

View File

@@ -14,7 +14,6 @@ import com.czg.service.order.service.ShopDirectMerchantService;
import com.mybatisflex.core.query.QueryWrapper; import com.mybatisflex.core.query.QueryWrapper;
import jakarta.annotation.Resource; import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.util.List; import java.util.List;
@@ -32,13 +31,15 @@ public class EntryManagerTask {
@Resource @Resource
private ShopMerchantService shopMerchantService; private ShopMerchantService shopMerchantService;
// TODO 暂时不用原生进件,使用第三方进件
//每10分钟查一次 //每10分钟查一次
@Scheduled(cron = "0 0/10 * * * ? ") // @Scheduled(cron = "0 0/10 * * * ? ")
public void run() { public void run() {
log.info("进件查询,定时任务执行"); // log.info("进件查询,定时任务执行");
long start = System.currentTimeMillis(); // long start = System.currentTimeMillis();
entryManager(null); // entryManager(null);
log.info("进件查询,定时任务执行完毕,耗时:{}ms", System.currentTimeMillis() - start); // log.info("进件查询,定时任务执行完毕,耗时:{}ms", System.currentTimeMillis() - start);
} }
/** /**