1
This commit is contained in:
@@ -276,7 +276,7 @@ jarvis:
|
||||
mq-topic: jarvis-goofish-erp-order
|
||||
consumer-group: jarvis-goofish-order-consumer
|
||||
pull-lookback-hours: 72
|
||||
pull-cron: "0 0/10 * * * ?"
|
||||
pull-cron: "0 * * * * ?"
|
||||
auto-ship-cron: "0 2/10 * * * ?"
|
||||
# 订单列表:每页条数(最大 100)
|
||||
pull-page-size: 100
|
||||
|
||||
@@ -21,7 +21,7 @@ public class JarvisGoofishProperties {
|
||||
private int pullLookbackHours = 72;
|
||||
|
||||
/** 拉单定时 cron */
|
||||
private String pullCron = "0 0/10 * * * ?";
|
||||
private String pullCron = "0 * * * * ?";
|
||||
|
||||
/** 同步运单 + 自动发货 cron */
|
||||
private String autoShipCron = "0 2/10 * * * ?";
|
||||
|
||||
@@ -29,7 +29,7 @@ public class GoofishScheduledTasks {
|
||||
@Resource
|
||||
private JarvisGoofishProperties goofishProperties;
|
||||
|
||||
@Scheduled(cron = "${jarvis.goofish-order.pull-cron:0 0/10 * * * ?}")
|
||||
@Scheduled(cron = "${jarvis.goofish-order.pull-cron:0 * * * * ?}")
|
||||
public void scheduledPull() {
|
||||
List<ErpOpenConfig> cfgs = erpOpenConfigService.selectEnabledOrderBySort();
|
||||
if (cfgs == null || cfgs.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user