重构:硬切商品来源并移除旧运维入口
This commit is contained in:
@@ -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') &&
|
||||
|
||||
Reference in New Issue
Block a user