重构:硬切商品来源并移除旧运维入口

This commit is contained in:
yml2213
2026-11-08 19:44:27 +08:00
parent f8cbb645fe
commit 2ebc4a0ec7
24 changed files with 273 additions and 734 deletions
@@ -156,7 +156,12 @@ test('人工确认前必须自动匹配履约配置,配置保存/定时任务
const listBody = configSource.slice(listStart, listEnd)
assert.ok(
listBody.includes('FROM product_catalog p') && listBody.includes('productSourceFilterSql'),
'人工成本配置必须以 man: 标准商品为唯一清单来源',
'人工成本配置必须以 source_kind=manual 的标准商品为唯一清单来源',
)
assert.ok(
listBody.includes('JOIN internal_skus product_sku') &&
!listBody.includes('substring(p.canonical_sku'),
'人工成本配置必须通过 internal_sku_id 读取内部 SKU,不能解析 man: 前缀',
)
assert.ok(
reconcileMigration.includes('tmp_manual_product_merge') &&