This commit is contained in:
2026-09-28 17:17:28 +08:00
parent 6954932ce3
commit 6a3b6e22e6
4 changed files with 10 additions and 8 deletions
@@ -89,7 +89,7 @@ test('近期头程与海外结构完整进入各自统一初始化入口', () =>
const receipt = table(cn, 'baiyue_firstleg', 'fl_mojia_measurement_receipt')
for (const field of ['measurement_kind', 'weight_kg', 'sync_status', 'sync_failure_code',
'sync_failure_reason', 'lingxing_sku_id', 'revision']) assert.match(receipt, new RegExp(`\\b${field}\\b`, 'i'))
assert.match(receipt, /weight_kg decimal\(18,3\) NOT NULL/i)
assert.match(receipt, /weight_kg decimal\(18,3\) DEFAULT NULL/i)
const relabel = table(overseas, 'baiyue_lastleg', 'll_relabel_application')
assert.match(relabel, /KEY idx_ll_relabel_application_order \(lastleg_order_id\)/i)