/// <summary>
 /// 执行核心
 /// </summary>
 /// <param name="returnInfo">返回信息</param>
 /// <param name="workflow">工作流</param>
 /// <param name="connectionId">连接ID</param>
 /// <param name="comData">通用数据</param>
 protected virtual void ExecCore(ReturnInfo <bool> returnInfo, WorkflowInfo workflow, CommonUseData comData = null, string connectionId = null)
 {
     WorkflowHandlePersistence.DeleteByWorkflowId(workflow.Id, connectionId);
     WorkflowPersistence.DeleteById(workflow.Id, connectionId: connectionId, comData: comData);
 }
Пример #2
0
 /// <summary>
 /// 执行核心
 /// </summary>
 /// <param name="returnInfo">返回信息</param>
 /// <param name="workflow">工作流</param>
 /// <param name="connectionId">连接ID</param>
 /// <param name="currUser">当前用户</param>
 protected virtual void ExecCore(ReturnInfo <bool> returnInfo, WorkflowInfo workflow, string connectionId = null, BasicUserInfo currUser = null)
 {
     WorkflowHandlePersistence.DeleteByWorkflowId(workflow.Id, connectionId);
     WorkflowPersistence.DeleteById(workflow.Id, connectionId);
 }