Commit c35c565267cb71665c055450ecfe3f9217e8105d
1 parent
62721221
跨站类型的任务不需要分配库位
Showing
1 changed file
with
3 additions
and
0 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/api/wcs/service/WcsServiceImpl.java
... | ... | @@ -175,6 +175,9 @@ public class WcsServiceImpl implements WcsService { |
175 | 175 | || taskType == QuantityConstant.TASK_TYPE_MANY_EMPTYSHIPMENT) { |
176 | 176 | return Result.error("分配库位时,整出类型的任务不需要分配库位"); |
177 | 177 | } |
178 | + if (taskType == QuantityConstant.TASK_TYPE_OVER_STATION || taskType == QuantityConstant.TASK_TYPE_MANY_EMPTYSHIPMENT_OVER_STATION) { | |
179 | + return Result.error("分配库位时,跨站类型的任务不需要分配库位"); | |
180 | + } | |
178 | 181 | String containerCode = taskHeader.getContainerCode(); |
179 | 182 | if (StringUtils.isEmpty(containerCode)) { |
180 | 183 | return Result.error("分配库位时,任务托盘为空"); |
... | ... |