跨域测试
This commit is contained in:
@@ -58,7 +58,7 @@ namespace IRaCIS.Core.Application
|
||||
.Where( t => t.Trial.TrialUserList.Any(t => t.UserId == _userInfo.Id))
|
||||
.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId))
|
||||
.SelectMany(t => t.TrialDocConfirmedUserList)
|
||||
.CountAsync(t => t.ConfirmUserId == _userInfo.Id),
|
||||
.CountAsync(t => t.ConfirmUserId == _userInfo.Id && t.ConfirmTime !=null),
|
||||
|
||||
TotalNeedSignSystemDocCount = _userInfo.UserTypeEnumInt == (int)UserTypeEnum.SuperAdmin
|
||||
? 0
|
||||
@@ -73,7 +73,7 @@ namespace IRaCIS.Core.Application
|
||||
: await _systemDocumentRepository
|
||||
.Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId))
|
||||
.SelectMany(t => t.SystemDocConfirmedUserList)
|
||||
.CountAsync(t => t.ConfirmUserId == _userInfo.Id),
|
||||
.CountAsync(t => t.ConfirmUserId == _userInfo.Id && t.ConfirmTime != null),
|
||||
|
||||
TotalApprovalRequiredCount=
|
||||
_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager || _userInfo.UserTypeEnumInt == (int)UserTypeEnum.APM ?
|
||||
|
||||
Reference in New Issue
Block a user