feat(shipping-notice): 收敛订单处理状态与履约门禁
This commit is contained in:
1 parent
bffcd55b40
commit
70dd0051b8
153 files changed
+10916
-4296
No files matched your search
@@ -48,7 +48,7 @@ def classify_task_lifecycle(task: ShippingNotice | dict[str, Any] | None) -> str
|
||||
upload = 'uploaded'
|
||||
except Exception:
|
||||
upload = None
|
||||
if upload in {'uploaded', 'succeeded', 'success'}:
|
||||
if upload == 'uploaded':
|
||||
return 'completed'
|
||||
return 'active'
|
||||
|
||||
|
||||
Reference in new issue
Block a user