|
@@ -355,7 +355,7 @@ public class TaskNodeServiceImpl extends SuperServiceImpl<TaskNodeMapper, TaskNo
|
|
|
if("1".equals(taskNode.getAutoNode().getCategory())){
|
|
|
taskNode.setInterfaceType(DictionaryKey.INTERFACETYPE_PLC);
|
|
|
//加工设备的设备ID来源于加工任务设备
|
|
|
- taskNode.setResourceId(taskNode.getTaskId());
|
|
|
+ taskNode.setResourceId(t.getResourceId());
|
|
|
taskNode.setTargetResourceId(t.getResourceId());
|
|
|
}else if("3".equals(taskNode.getAutoNode().getCategory())){
|
|
|
String command = autoCode.getCommand();
|