test: synchronize initialization and dependency contracts
This commit is contained in:
@@ -159,6 +159,12 @@ test('海外空库基线为固定平台管理员提供完整version0授权投影
|
||||
assert.equal(inline.replace(/\r\n/g, '\n').trim(), lastlegBaseline.replace(/\r\n/g, '\n').trim())
|
||||
})
|
||||
|
||||
test('当前海外基线不从废弃申请回填历史尾程订单', () => {
|
||||
for (const source of [lastlegBaseline, overseasSql]) {
|
||||
assert.doesNotMatch(source, /INSERT IGNORE INTO ll_order\s*\([\s\S]*?SELECT a\.id,a\.discard_no/)
|
||||
}
|
||||
})
|
||||
|
||||
test('国内统一初始化补齐入库费用人工调整基线字段', () => {
|
||||
assert.match(sql, /baseline_chargeable_quantity DECIMAL\(18,6\) NOT NULL/)
|
||||
assert.match(sql, /SET baseline_chargeable_quantity = chargeable_quantity[\s\S]*?WHERE baseline_chargeable_quantity IS NULL/)
|
||||
|
||||
Reference in New Issue
Block a user