feat(shipping-notice): 新增发货批次和任务管理功能,支持批次创建与任务处理

This commit is contained in:
hugo committed 2026-06-17 20:45:19 +08:00
1 parent 457f0f4e5e
commit 634dee4b81
81 files changed
+9088 -3625

No files matched your search

@@ -1,3 +1,11 @@
"""
services/shipping_notice/rpa_attempts.py
用途:统计任务的 RPA 库存导出与货代上传重试次数,并给出默认上限。
依赖:ShippingTask、ShippingTaskEvent 模型与事件查询逻辑。
逻辑:由 inventory_rpa_workflow、fulfillment_workflow 等模块调用本文件,决定是否还能继续触发 RPA 重试。
"""
from __future__ import annotations
import os