diff --git a/src/main/java/com/gaotao/modules/other/entity/OtherInboundRequestDto.java b/src/main/java/com/gaotao/modules/other/entity/OtherInboundRequestDto.java index a67e76d4..663a9ef9 100644 --- a/src/main/java/com/gaotao/modules/other/entity/OtherInboundRequestDto.java +++ b/src/main/java/com/gaotao/modules/other/entity/OtherInboundRequestDto.java @@ -14,6 +14,8 @@ public class OtherInboundRequestDto { @NotNull(message = "site不能为空") private String site; + private String fuSite; + @NotNull(message = "操作员不能为空") private String operatorName; diff --git a/src/main/java/com/gaotao/modules/other/service/impl/OtherInboundServiceImpl.java b/src/main/java/com/gaotao/modules/other/service/impl/OtherInboundServiceImpl.java index 73846008..276e5370 100644 --- a/src/main/java/com/gaotao/modules/other/service/impl/OtherInboundServiceImpl.java +++ b/src/main/java/com/gaotao/modules/other/service/impl/OtherInboundServiceImpl.java @@ -73,7 +73,7 @@ public class OtherInboundServiceImpl implements OtherInboundService { SysUserEntity currentUser = (SysUserEntity) SecurityUtils.getSubject().getPrincipal(); // 1. 验证目标库位 - String warehouseId = validateTargetLocation(dto.getSite(), dto.getTargetLocationId()); + String warehouseId = validateTargetLocation(dto.getFuSite(), dto.getTargetLocationId()); // 2. 验证HandlingUnit List handlingUnits = validateHandlingUnits(dto);