/// <summary> /// 获取开始节点 /// </summary> /// <param name="processId"></param> /// <returns></returns> //public ActivityEntity GetStartActivity(string processId,string billUid) //{ // _processModel = new ProcessModel(_wfProcessService,processId,billUid); // var startActivity = _processModel.GetStartActivity(); // return startActivity; //} /// <summary> /// 获取任务类型的节点列表 /// </summary> /// <returns></returns> public IEnumerable <ActivityEntity> GetTaskActivityList(string processId, string billUid) { _processModel = new ProcessModel(_dataAccessor, _loggerFactory, processId, billUid); var activityList = _processModel.GetAllTaskActivityList(); return(activityList); }
/// <summary> /// 获取开始节点 /// </summary> /// <param name="processId"></param> /// <returns></returns> //public ActivityEntity GetStartActivity(string processId,string billUid) //{ // _processModel = new ProcessModel(_wfProcessService,processId,billUid); // var startActivity = _processModel.GetStartActivity(); // return startActivity; //} /// <summary> /// 获取任务类型的节点列表 /// </summary> /// <returns></returns> public IEnumerable <ActivityEntity> GetTaskActivityList(string processId, string billUid) { _processModel = new ProcessModel(_serviceProvider, processId, billUid); var activityList = _processModel.GetAllTaskActivityList(); return(activityList); }