|
|
@ -234,7 +234,7 @@ public class InventoryMoveServiceImpl implements InventoryMoveService { |
|
|
throw new XJException("部分HandlingUnit不存在或site不匹配"); |
|
|
throw new XJException("部分HandlingUnit不存在或site不匹配"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* for (HandlingUnit hu : handlingUnits) { |
|
|
|
|
|
|
|
|
for (HandlingUnit hu : handlingUnits) { |
|
|
if (!"Y".equals(hu.getInStockFlag())) { |
|
|
if (!"Y".equals(hu.getInStockFlag())) { |
|
|
throw new XJException("HandlingUnit不在库,无法移库: " + hu.getUnitId()); |
|
|
throw new XJException("HandlingUnit不在库,无法移库: " + hu.getUnitId()); |
|
|
} |
|
|
} |
|
|
@ -242,7 +242,7 @@ public class InventoryMoveServiceImpl implements InventoryMoveService { |
|
|
if (dto.getTargetLocationId().equals(hu.getLocationId())) { |
|
|
if (dto.getTargetLocationId().equals(hu.getLocationId())) { |
|
|
throw new XJException("目标库位不能与当前库位相同: " + hu.getUnitId()); |
|
|
throw new XJException("目标库位不能与当前库位相同: " + hu.getUnitId()); |
|
|
} |
|
|
} |
|
|
}*/ |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return handlingUnits; |
|
|
return handlingUnits; |
|
|
} |
|
|
} |
|
|
|