node是workflowinstance中的Workflowinstancenode实例
Query query=this.getSession().createQuery("from Workflowinstance as c where c.id=?");
query.setLong(0,node.getWorkflowinstance().getId());
List list=query.list();