feat(shipping-notice): 增强发货通知与订单抽取功能,支持多进程处理与紧急停止

- 移除不再使用的 SHIPPING_NOTICE_LAYOUT_PARSER_REVISION 配置
- 在环境配置中新增 SHIPPING_NOTICE_WORKER_CONCURRENCY 和 SHIPPING_NOTICE_JOB_RUNNING_TIMEOUT_SECONDS
- 实现发货通知 worker 进程,支持并发处理订单抽取任务
- 引入紧急停止功能,允许管理员在运行中控制订单解析状态
- 更新相关 API,支持读取与设置紧急停止状态
- 增强文档与代码注释,反映新的业务逻辑与功能要求
This commit is contained in:
hugo committed 2026-07-31 18:00:49 +08:00
1 parent d0fe084999
commit b352c281d5
149 files changed
+12550 -1874

No files matched your search

+33
View File
@@ -2852,6 +2852,13 @@
"uploadNewSampleHint": "The system parses it automatically and selects it when ready.",
"uploading": "Uploading",
"sampleParsing": "Parsing now. This file will be selected automatically when ready.",
"sampleStatus": {
"uploading": "Uploading the file. Keep this page open.",
"queued": "The file is uploaded and waiting for the parsing job to start.",
"parsing": "Parsing the document and layout. It will be added to the list and selected automatically.",
"syncing": "Parsing is complete. Synchronizing the sample list and selecting it automatically."
},
"refreshSamples": "Refresh sample list now",
"sampleParseFailed": "Parsing failed. Upload again or choose an existing sample.",
"sampleLayoutCoordinatesMissing": "Template layout parsing failed: table-cell coordinates are missing. Use another sample or check MinerU output.",
"sampleLayoutSnapshotTooLarge": "Template layout parsing failed: the snapshot exceeds the size limit. Use a shorter or simpler sample.",
@@ -3162,6 +3169,13 @@
"regionKindTitle": "Region kind",
"regionFieldCodeTitle": "Field code",
"regionPageTitle": "Page",
"recognizedValueTitle": "Recognized value",
"configuredValueTitle": "Configured value",
"matchResultTitle": "Match result",
"matchResultMatched": "Matched",
"matchResultMismatched": "Mismatch",
"regionDiagnosticsLoading": "Reading frozen recognized values...",
"regionDiagnosticsLoadFailed": "Failed to load frozen recognized values",
"sampleSummaryTitle": "Sample summary",
"annotationCount": "Annotation samples",
"trainingCount": "Training samples",
@@ -3352,6 +3366,8 @@
"openCanvas": "Create draft and open canvas",
"loadingPage": "Loading page...",
"canvasZoom": "Page zoom",
"readonlyCanvasAriaLabel": "Document readonly canvas",
"annotationCanvasAriaLabel": "Document annotation canvas",
"zoomOut": "Zoom out",
"zoomIn": "Zoom in",
"fitPage": "Fit page",
@@ -3407,6 +3423,23 @@
"review": "Review",
"noIssues": "No blocking configuration issue.",
"currentConfiguration": "Current configuration",
"tableRegionSettings": "Line table settings",
"rowReconstructionMode": "Line reconstruction mode",
"rowReconstructionModes": {
"fixedSubrows": "Fixed subrows (default)",
"adaptiveRecordColumns": "Adaptive column reconstruction"
},
"rowReconstructionHints": {
"fixed_subrows": "Use when every detail record has a fixed number of physical rows.",
"adaptive_record_columns": "Use when columns stay stable but fields may appear on different physical rows; complete an independent blind test first."
},
"tableRegionPageScope": "Page scope",
"tableRegionPageScopes": {
"exactPage": "Current page only",
"firstPage": "First page only",
"allPages": "All pages",
"continuationPages": "Continuation pages only"
},
"undo": "Undo",
"redo": "Redo",
"header": "Header",