rev:出库时移库报错

This commit is contained in:
zhangzq
2024-11-29 17:05:49 +08:00
parent f8129ba748
commit 80e0c51f26

View File

@@ -59,7 +59,7 @@ public class MoveStorageTask extends AbstractTask {
if (!CollectionUtils.isEmpty(list)){
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));
if (StringUtils.isNotEmpty(target.getVehicle_code())){
throw new BadRequestException("目标货位存在载具:"+target.getVehicle_code());