优化(直播履约): 改为订单快照事件驱动

This commit is contained in:
yml
2026-11-18 16:57:57 +08:00
parent 623a4ffa05
commit 86c8417d4b
21 changed files with 934 additions and 77 deletions
@@ -1322,7 +1322,6 @@ function PipelinesPanel() {
const query = useQuery({
queryKey: ['fulfillment-pipelines'],
queryFn: fetchPipelineStatus,
refetchInterval: 30_000,
})
const runMutation = useMutation({
@@ -1338,7 +1337,7 @@ function PipelinesPanel() {
const columns = [
{ title: '管道', dataIndex: 'label', width: 130 },
{
title: '定时任务',
title: '兜底任务',
width: 150,
render: (_: unknown, row: FinancePipelineStatus) =>
row.scheduler ? (
@@ -1402,8 +1401,8 @@ function PipelinesPanel() {
}
>
<Typography.Paragraph type="secondary">
六个管道由定时任务自动执行,无需人工干预;这里只用于查看进度、
排障和补跑。默认间隔:渠道判定/载体 60s,商品/成本 300s,事实/总账 600s。
新订单会由入库事件即时推进渠道判定和载体补建;定时任务只做漏事件兜底。 本页随后台 SSE
自动刷新,用于查看进度、排障和补跑。
</Typography.Paragraph>
<PercentTable
rowKey="pipeline"