暂时不用原生进件 删除定时任务
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user