public List<Task> executeTask(String taskId, String operator, Map<String, Object> args) {
		//完成任务，并且构造执行对象
		Execution execution = execute(taskId, operator, args);
		if(execution == null) return Collections.emptyList();
		ProcessModel model = execution.getProcess().getModel();
		if(model != null) {
			NodeModel nodeModel = model.getNode(execution.getTask().getTaskName());
			//将执行对象交给该任务对应的节点模型执行
			nodeModel.execute(execution);
		}
		return execution.getTasks();
	}
public List<Task> executeTask(String taskId, String operator, Map<String, Object> args) {
		
		Execution execution = execute(taskId, operator, args);
		if(execution == null) return Collections.emptyList();
		ProcessModel model = execution.getProcess().getModel();
		if(model != null) {
			NodeModel nodeModel = model.getNode(execution.getTask().getTaskName());
			
			nodeModel.execute(execution);
		}
		return execution.getTasks();
	}
public List < Task > executeTask ( String taskId , String operator , Map < String , Object > args ) { //完成任务，并且构造执行对象 Execution execution = execute ( taskId , operator , args ) ; if ( execution == null ) return Collections . emptyList ( ) ; ProcessModel model = execution . getProcess ( ) . getModel ( ) ; if ( model != null ) { NodeModel nodeModel = model . getNode ( execution . getTask ( ) . getTaskName ( ) ) ; //将执行对象交给该任务对应的节点模型执行 nodeModel . execute ( execution ) ; } return execution . getTasks ( ) ; }
根据任务主键ID，操作人ID，参数列表执行任务
根据任务主键ID，操作人ID，参数列表执行任务