opt: 修复7

This commit is contained in:
2025-11-03 19:10:22 +08:00
parent 596e807cba
commit 895914bd91

View File

@@ -505,10 +505,14 @@ public class MesToWmsServiceImpl implements MesToWmsService {
} else {
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())) {
//查询组盘
GroupPlate groupPlate = iMdPbGroupplateService.getOne(new LambdaQueryWrapper<GroupPlate>()
.eq(GroupPlate::getStoragevehicle_code, point.getVehicle_code())