修改签署文档统计数字
parent
f59d1533fc
commit
ec02bb478b
|
@ -148,7 +148,7 @@ namespace IRaCIS.Core.Application
|
||||||
{
|
{
|
||||||
var trialDocStat = await _trialRepository
|
var trialDocStat = await _trialRepository
|
||||||
.Where(t => t.TrialUserList.Any(t => t.UserId == _userInfo.Id))
|
.Where(t => t.TrialUserList.Any(t => t.UserId == _userInfo.Id))
|
||||||
.WhereIf(!_userInfo.IsAdmin, c => c.TrialDocumentList.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId) && !t.TrialDocConfirmedUserList.Any(t => t.ConfirmUserId == _userInfo.Id)).Count() > 0)
|
.WhereIf(!_userInfo.IsAdmin, c => c.TrialDocumentList.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId) && !t.TrialDocConfirmedUserList.Any(t => t.ConfirmUserId == _userInfo.Id && t.ConfirmTime!=null)).Count() > 0)
|
||||||
.ProjectTo<DocSignStat>(_mapper.ConfigurationProvider, new { userTypeEnumInt = _userInfo.UserTypeEnumInt, userId = _userInfo.Id, userTypeId = _userInfo.UserTypeId })
|
.ProjectTo<DocSignStat>(_mapper.ConfigurationProvider, new { userTypeEnumInt = _userInfo.UserTypeEnumInt, userId = _userInfo.Id, userTypeId = _userInfo.UserTypeId })
|
||||||
.OrderByDescending(t => t.WaitSignCount)
|
.OrderByDescending(t => t.WaitSignCount)
|
||||||
.ToPagedListAsync(query.PageIndex, query.PageSize , query.SortField, query.Asc);
|
.ToPagedListAsync(query.PageIndex, query.PageSize , query.SortField, query.Asc);
|
||||||
|
|
Loading…
Reference in New Issue