/// <summary> /// 重置审批流程中的单据(撤销的没必要发送提醒信息) /// </summary> /// <param name="categoryCode">分类编号</param> /// <param name="objectId">实体主键</param> /// <param name="auditIdea">批示</param> /// <returns>影响行数</returns> public int Reset(BaseWorkFlowCurrentEntity workFlowCurrentEntity) { IWorkFlowManager workFlowManager = this.GetWorkFlowManager(workFlowCurrentEntity.Id); // 退回时,应该给创建者一个提醒消息 return(workFlowManager.OnReset(workFlowCurrentEntity) ? 1 : 0); }