固化室出库逻辑优化&agv信号反馈优化

This commit is contained in:
psh
2024-06-21 16:25:59 +08:00
parent 9166305707
commit 85e42f9ca4
3 changed files with 7 additions and 3 deletions

View File

@@ -147,4 +147,7 @@ public class SchBasePoint implements Serializable {
@ApiModelProperty(value = "放货等待点")
private String next_wait_point;
@TableField(exist = false)
private String material_id;
}

View File

@@ -114,6 +114,7 @@ public class GHCMLTask extends AbstractTask {
JSONObject jsonObject = JSONObject.parseObject(requestParam);
jsonObject.put("material_id", ObjectUtil.isNotEmpty(groupInfo) ? groupInfo.getMaterial_id() : null);
SchBasePoint point = findNextPoint(nextRegionStr, jsonObject);
log.info("当前任务{}找到预计终点{}",task.getTask_id(),point.getPoint_code());
if (ObjectUtil.isEmpty(point)) {
throw new BadRequestException("涂板线[" + task.getPoint_code1() + "]未找到所需点位!");
}