固化室出库逻辑优化&agv信号反馈优化
This commit is contained in:
@@ -147,4 +147,7 @@ public class SchBasePoint implements Serializable {
|
||||
@ApiModelProperty(value = "放货等待点")
|
||||
private String next_wait_point;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String material_id;
|
||||
|
||||
}
|
||||
|
||||
@@ -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() + "]未找到所需点位!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user