fix(warehouse-overseas): keep confirmed pallet locks active

This commit is contained in:
2026-09-09 00:11:46 +08:00
parent 93704a24ce
commit cf8053b7ce
4 changed files with 45 additions and 7 deletions
@@ -34,6 +34,7 @@ class WarehousePalletBatchContractTest {
.contains("/internal/v1/warehouse-pallet-batches/compensate:")
.contains("业务冲突仍为HTTP 200且响应体code=A0409")
.contains("commandKey幂等作用域为(warehouseId,batchKey,commandKey),无需全局唯一")
.contains("资源锁保持ACTIVE供后续真实履约release或scrap")
.contains("businessKey: { type: string, minLength: 1, maxLength: 100 }")
.contains("palletCode: { type: string, maxLength: 64 }")
.doesNotContain("'409':");