opt: 修复8
This commit is contained in:
@@ -482,7 +482,7 @@ public class MesToWmsServiceImpl implements MesToWmsService {
|
||||
MdPbStoragevehicleinfo mdPbStoragevehicleinfo = iMdPbStoragevehicleinfoService.getByCode(point.getVehicle_code());
|
||||
|
||||
if (mdPbStoragevehicleinfo == null) {
|
||||
throw new BadRequestException("机台" + dto.getDevice_code() + "上没有载具的载具!");
|
||||
throw new BadRequestException("机台" + dto.getDevice_code() + "上的载具不存在!");
|
||||
}
|
||||
|
||||
//通过料桶号的料桶类型,匹配确认入库库区
|
||||
@@ -506,10 +506,6 @@ public class MesToWmsServiceImpl implements MesToWmsService {
|
||||
param.put("create_mode", IOSEnum.CREATE_MODE.code("外部接口产生"));
|
||||
}
|
||||
|
||||
if (ObjectUtil.isEmpty(point.getVehicle_code())) {
|
||||
throw new BadRequestException("该设备在LMS系统上是没有料桶信息!");
|
||||
}
|
||||
|
||||
//退料
|
||||
param.put("ext_task_code", dto.getTask_code());
|
||||
if ("1".equals(dto.getTask_type())) {
|
||||
|
||||
Reference in New Issue
Block a user