opt: 修复8

This commit is contained in:
2025-11-03 19:24:40 +08:00
parent 895914bd91
commit 4f88619e05

View File

@@ -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())) {