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