This commit is contained in:
van
2026-04-23 16:04:45 +08:00
parent 7cd7440f1f
commit 0ff357148b
3 changed files with 8 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ public class JarvisGoofishProperties {
private int pullLookbackHours = 72;
/** 拉单定时 cron */
private String pullCron = "0 0/15 * * * ?";
private String pullCron = "0 0/10 * * * ?";
/** 同步运单 + 自动发货 cron */
private String autoShipCron = "0 2/10 * * * ?";
@@ -59,11 +59,10 @@ public class JarvisGoofishProperties {
private String autoShipOrderStatuses = "12";
/**
* 定时/增量「订单列表拉单是否仅请求 {@link #autoShipOrderStatuses} 中的状态(通常即待发货)。
* 为 true 时可显著减少列表与后续详情拉取次数;其余状态依赖开放平台推送回调刷新
* 全量历史回补若需全状态,可临时设为 false。
* 为 true 时定时/增量列表拉单仅按 {@link #autoShipOrderStatuses} 过滤(减少调用量,但会漏掉其它状态)。
* 默认 false按时间窗拉全状态与本地 upsert 对齐,推送仍可用于更低延迟
*/
private boolean pullListOnlyAutoShipStatuses = true;
private boolean pullListOnlyAutoShipStatuses = false;
/**
* 未在 erp_open_config 配置 express_code 时,自动发货使用的默认快递公司编码(官方列表中日日顺多为 rrs