Browse Source

库位查询传父site

dev
han\hanst 2 weeks ago
parent
commit
a564891e01
  1. 2
      src/main/java/com/gaotao/modules/other/entity/OtherInboundRequestDto.java
  2. 2
      src/main/java/com/gaotao/modules/other/service/impl/OtherInboundServiceImpl.java

2
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;

2
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<HandlingUnit> handlingUnits = validateHandlingUnits(dto);

Loading…
Cancel
Save