|
@ -508,8 +508,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
SchBaseVehiclematerialgroup one = vehiclematerialgroupService.getGroupInfo(baseRequest.getVehicle_code(), |
|
|
SchBaseVehiclematerialgroup one = vehiclematerialgroupService.getGroupInfo(baseRequest.getVehicle_code(), |
|
|
baseRequest.getVehicle_type(), GroupBindMaterialStatusEnum.BOUND.getValue()); |
|
|
baseRequest.getVehicle_type(), GroupBindMaterialStatusEnum.BOUND.getValue()); |
|
|
if (ObjectUtil.isEmpty(one)) { |
|
|
if (ObjectUtil.isEmpty(one)) { |
|
|
// 返回400,物料不存在
|
|
|
throw new BadRequestException("载具编码为"+baseRequest.getVehicle_code()+"组盘不存在!"); |
|
|
throw new BadRequestException("组盘不存在或已静置完成!"); |
|
|
|
|
|
} |
|
|
} |
|
|
String yjDeviceCode = basePoint.getParent_point_code(); // 压机设备编码
|
|
|
String yjDeviceCode = basePoint.getParent_point_code(); // 压机设备编码
|
|
|
// 获取当前工单
|
|
|
// 获取当前工单
|
|
|