rev:出库时移库报错
This commit is contained in:
@@ -59,7 +59,7 @@ public class MoveStorageTask extends AbstractTask {
|
|||||||
if (!CollectionUtils.isEmpty(list)){
|
if (!CollectionUtils.isEmpty(list)){
|
||||||
throw new BadRequestException("当前载具存在任务:"+list.stream().map(SchBaseTask::getTask_code).collect(Collectors.joining(",")));
|
throw new BadRequestException("当前载具存在任务:"+list.stream().map(SchBaseTask::getTask_code).collect(Collectors.joining(",")));
|
||||||
}
|
}
|
||||||
|
|
||||||
StIvtStructattr target = iStIvtStructattrService.getOne(new QueryWrapper<StIvtStructattr>().eq("struct_code", end_struct_code));
|
StIvtStructattr target = iStIvtStructattrService.getOne(new QueryWrapper<StIvtStructattr>().eq("struct_code", end_struct_code));
|
||||||
if (StringUtils.isNotEmpty(target.getVehicle_code())){
|
if (StringUtils.isNotEmpty(target.getVehicle_code())){
|
||||||
throw new BadRequestException("目标货位存在载具:"+target.getVehicle_code());
|
throw new BadRequestException("目标货位存在载具:"+target.getVehicle_code());
|
||||||
|
|||||||
Reference in New Issue
Block a user