/// <summary>
        /// 最终审核通过(完成)
        /// </summary>
        /// <param name="workFlowManager">当前审批流程接口</param>
        /// <param name="currentId">当前主键</param>
        /// <param name="auditIdea">批示</param>
        /// <returns>影响行数</returns>
        public int AuditComplete(IWorkFlowManager workFlowManager, string currentId, string auditIdea)
        {
            int returnValue = 0;
            // 1:进行更新操作
            BaseWorkFlowCurrentEntity workFlowCurrentEntity = this.StepAuditComplete(currentId, auditIdea);

            if (workFlowCurrentEntity.Id != null)
            {
                // 2:对当前审批流程接口进行处理
                if (workFlowManager != null)
                {
                    // 3:进行审批处理完毕动作
                    workFlowManager.OnAuditComplete(workFlowCurrentEntity);
                    string[] userIds = null;

                    /*
                     * // 4:这里给所有相关的人发一个消息,告诉他们审批完成了
                     * BaseWorkFlowStepManager workFlowStepManager = new BaseWorkFlowStepManager(this.DbHelper, this.UserInfo);
                     * userIds = workFlowStepManager.GetProperties(new KeyValuePair<string, object>(BaseWorkFlowStepEntity.FieldCategoryCode, workFlowCurrentEntity.CategoryCode)
                     *  , new KeyValuePair<string, object>(BaseWorkFlowStepEntity.FieldObjectId, workFlowCurrentEntity.ObjectId)
                     *  , BaseWorkFlowStepEntity.FieldAuditUserId);
                     */
                    // 把创建人加上,发出者也需要获得提醒信息
                    userIds = StringUtil.Concat(userIds, workFlowCurrentEntity.CreateUserId);
                    // 当前操作者没必要参与进来,可以少发一个没必要的提示信息,减少没必要的提醒信息
                    userIds = StringUtil.Remove(userIds, this.UserInfo.Id);
                    workFlowManager.SendRemindMessage(workFlowCurrentEntity, AuditStatus.AuditComplete, userIds, null, null);
                    returnValue = 1;
                }
            }
            else
            {
                // 数据可能被删除
                this.ReturnStatusCode = StatusCode.ErrorDeleted.ToString();
            }
            // 应该给创建者一个提醒消息
            this.ReturnStatusMessage = this.GetStateMessage(this.ReturnStatusCode);
            return(returnValue);
        }
 /// <summary>
 /// 最终审核通过(完成)
 /// </summary>
 /// <param name="workFlowManager">当前审批流程接口</param>
 /// <param name="currentId">当前主键</param>
 /// <param name="auditIdea">批示</param>
 /// <returns>影响行数</returns>
 public int AuditComplete(IWorkFlowManager workFlowManager, string currentId, string auditIdea)
 {
     int returnValue = 0;
     // 1:进行更新操作
     BaseWorkFlowCurrentEntity workFlowCurrentEntity = this.StepAuditComplete(currentId, auditIdea);
     if (workFlowCurrentEntity.Id != null)
     {
         // 2:对当前审批流程接口进行处理
         if (workFlowManager != null)
         {
             // 3:进行审批处理完毕动作
             workFlowManager.OnAuditComplete(workFlowCurrentEntity);
             string[] userIds = null;
             /*
             // 4:这里给所有相关的人发一个消息,告诉他们审批完成了
             BaseWorkFlowStepManager workFlowStepManager = new BaseWorkFlowStepManager(this.DbHelper, this.UserInfo);
             userIds = workFlowStepManager.GetProperties(new KeyValuePair<string, object>(BaseWorkFlowStepEntity.FieldCategoryCode, workFlowCurrentEntity.CategoryCode)
                 , new KeyValuePair<string, object>(BaseWorkFlowStepEntity.FieldObjectId, workFlowCurrentEntity.ObjectId)
                 , BaseWorkFlowStepEntity.FieldAuditUserId);
             */
             // 把创建人加上,发出者也需要获得提醒信息
             userIds = StringUtil.Concat(userIds, workFlowCurrentEntity.CreateUserId);
             // 当前操作者没必要参与进来,可以少发一个没必要的提示信息,减少没必要的提醒信息
             userIds = StringUtil.Remove(userIds, this.UserInfo.Id);
             workFlowManager.SendRemindMessage(workFlowCurrentEntity, AuditStatus.AuditComplete, userIds, null, null);
             returnValue = 1;
         }
     }
     else
     {
         // 数据可能被删除
         this.ReturnStatusCode = StatusCode.ErrorDeleted.ToString();
     }
     // 应该给创建者一个提醒消息
     this.ReturnStatusMessage = this.GetStateMessage(this.ReturnStatusCode);
     return returnValue;
 }