refactor(migration): 整合分销迁移至终态定义并清理零散改表与测试种子数据
This commit is contained in:
@@ -61,7 +61,7 @@ func mustCreateDraftBatch(t *testing.T, db *gorm.DB, siteID uint64, batchNo stri
|
||||
return batch
|
||||
}
|
||||
|
||||
// TestSettlementItemOrderPartyUniqueKey 断言 000070 唯一键生效:
|
||||
// TestSettlementItemOrderPartyUniqueKey 断言 (order_id, party_id) 唯一键生效:
|
||||
// 同一 (order_id, party_id) 插入第二条结算明细必须失败。
|
||||
func TestSettlementItemOrderPartyUniqueKey(t *testing.T) {
|
||||
db := distributionTestDB(t)
|
||||
|
||||
Reference in New Issue
Block a user