feat(order-service): 重构分类资料收集与订单状态链路

This commit is contained in:
yml2213
2026-11-03 19:46:49 +08:00
parent 6e4758a3c7
commit 9f14e8de7a
59 changed files with 4866 additions and 1734 deletions
@@ -11,6 +11,7 @@ import {
runChannelAssignJob,
runCostSnapshotJob,
runLedgerPostJob,
runOrderServiceAutoPublishJobs,
runProductNormalizeJob,
runSalesFactsJob,
} from './finance-pipeline-jobs.js'
@@ -230,6 +231,9 @@ function dispatchJob(job: JsonObject) {
if (job.type === 'ledger_post') {
return runLedgerPostJob(job)
}
if (job.type === 'order_service_auto_publish') {
return runOrderServiceAutoPublishJobs(job)
}
throw createHttpError(`不支持的定时任务类型:${job.type}`, {
statusCode: 400,