This commit is contained in:
2026-08-10 18:40:43 +08:00
parent efcd046853
commit 86632ef383
6 changed files with 13 additions and 5 deletions
@@ -20,7 +20,7 @@ class PalletAllocationDtosValidationTest {
assertThat(validator.validate(new PalletAllocationDtos.ReserveRequest(0L, 20L, "FIRSTLEG", 88L,
"RK-001", "measure-88", 9L, BigDecimal.ONE, BigDecimal.ONE, "STANDARD", expiresAt, true))).isEmpty();
assertThat(validator.validate(new PalletAllocationDtos.ConfirmRequest(0L, 20L, "FIRSTLEG", 88L,
9L, BigDecimal.ONE, BigDecimal.ONE))).isEmpty();
9L, BigDecimal.ONE, BigDecimal.ONE, 20))).isEmpty();
assertThat(validator.validate(new PalletAllocationDtos.ReleaseRequest(0L, "FIRSTLEG", 88L, 9L,
"入库补偿"))).isEmpty();
assertThat(validator.validate(new PalletAllocationDtos.SelectiveReleaseRequest(0L, "FIRSTLEG", 88L,