|
@@ -3321,7 +3321,7 @@ planId));
|
|
|
//重建最初获取工装节点
|
|
|
//List<TaskNode> switchNodes = this.list(new LbqWrapper<TaskNode>().lt(TaskNode::getCompleteBatchSort,
|
|
|
// taskNode.getCompleteBatchSort()).eq(TaskNode::getCompleteBatchNo, taskNode.getCompleteBatchNo()).orderByAsc(TaskNode::getCompleteBatchSort).last("limit 3"));
|
|
|
- ResourceBusiness resourceBusiness2 = resourceBusinessMapper.selectOne(new LbqWrapper<ResourceBusiness>().eq(ResourceBusiness::getName, DemoLineConstant.DEMOLINE_STOCK_CK_CODE));
|
|
|
+ ResourceBusiness resourceBusiness2 = resourceBusinessMapper.selectOne(new LbqWrapper<ResourceBusiness>().eq(ResourceBusiness::getName, DemoLineConstant.ZONE_ROBOT_CK.get(zoneNo)));
|
|
|
List<TaskNode> switchNodes = this.getCreateTaskNode(resourceBusiness2.getId(), tTask);
|
|
|
switchNodes.stream().forEach(node -> {
|
|
|
TaskNode headNode = new TaskNode();
|