/// <summary>
        /// 获取用户参与审核的列表
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="condition"></param>
        /// <param name="cancellationToken"></param>
        /// <returns></returns>
        public async Task <PagingResponseMessage <ExamineFlowListResponse> > GetUserExamineFlowList(string userId, UserExamineFlowListCondition condition, CancellationToken cancellationToken = default(CancellationToken))
        {
            PagingResponseMessage <ExamineFlowListResponse> pagingResponse = new PagingResponseMessage <ExamineFlowListResponse>();

            if (condition == null)
            {
                throw new ArgumentNullException(nameof(condition));
            }
            var q = Store.GetRecordQuery().Where(a => !a.IsDeleted && a.ExamineUserId == userId);

            if (condition.ExamineStatus?.Count > 0)
            {
                q = q.Where(a => condition.ExamineStatus.Contains(a.ExamineFlow.ExamineStatus));
            }
            if (condition.ContentTypes?.Count > 0)
            {
                q = q.Where(a => condition.ContentTypes.Contains(a.ExamineFlow.ContentType));
            }
            var q1 = q.Distinct((a, b) => a.FlowId == b.FlowId);

            pagingResponse.TotalCount = q1.Count();
            var qlist   = q1.OrderByDescending(x => x.RecordTime).Skip(condition.PageIndex * condition.PageSize).Take(condition.PageSize);
            var resulte = qlist.Select(a => new ExamineFlowListResponse()
            {
                ContentId              = a.ExamineFlow.ContentId,
                ContentName            = a.ExamineFlow.ContentName,
                ContentType            = a.ExamineFlow.ContentType,
                Desc                   = a.ExamineFlow.Desc,
                ExamineStatus          = a.ExamineFlow.ExamineStatus,
                Id                     = a.ExamineFlow.Id,
                SubmitOrganizationId   = a.ExamineFlow.SubmitOrganizationId,
                SubmitOrganizationName = a.ExamineFlow.SubmitOrganizationName,
                SubmitTime             = a.ExamineFlow.SubmitTime,
                SubmitUserId           = a.ExamineFlow.SubmitUserId,
                SubmitUserName         = a.ExamineFlow.SubmitUserName,
                SubmitDefineId         = a.ExamineFlow.SubmitDefineId,
                TaskName               = a.ExamineFlow.TaskName,
                Ext1                   = a.ExamineFlow.Ext1,
                Ext2                   = a.ExamineFlow.Ext2,
                Ext3                   = a.ExamineFlow.Ext3,
                Ext4                   = a.ExamineFlow.Ext4,
                Ext5                   = a.ExamineFlow.Ext5,
                Ext6                   = a.ExamineFlow.Ext6,
                Ext7                   = a.ExamineFlow.Ext7,
                Ext8                   = a.ExamineFlow.Ext8
            });

            pagingResponse.PageIndex = condition.PageIndex;
            pagingResponse.PageSize  = condition.PageSize;
            pagingResponse.Extension = resulte.ToList();
            return(pagingResponse);
        }
        public async Task <PagingResponseMessage <ExamineFlowListResponse> > GetUserExamineFlowList(UserInfo user, [FromBody] UserExamineFlowListCondition condition)
        {
            PagingResponseMessage <ExamineFlowListResponse> pagingResponse = new PagingResponseMessage <ExamineFlowListResponse>();

            try
            {
                return(await _examineFlowManager.GetUserExamineFlowList(user.Id, condition, HttpContext.RequestAborted));
            }
            catch (Exception e)
            {
                pagingResponse.Code    = ResponseCodeDefines.ServiceError;
                pagingResponse.Message = e.ToString();
                Logger.Error($"用户{user?.UserName ?? ""}({user?.Id ?? ""})获取参与的审核列表(GetUserExamineFlowList)报错:\r\n{e.ToString()},\r\n请求参数为:\r\n" + (condition != null ? JsonHelper.ToJson(condition) : ""));
            }
            return(pagingResponse);
        }