diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/_MapConfig.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/_MapConfig.cs index 22b24bb7..d83dfb14 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/_MapConfig.cs @@ -250,7 +250,7 @@ namespace IRaCIS.Core.Application.Service .ForMember(t => t.WaitSignCount, u => u.MapFrom(c => userTypeEnumInt == (int)UserTypeEnum.SuperAdmin ? 0 - : c.TrialDocumentList.Where(t => t.NeedConfirmedUserTypeList.Any(t=>t.NeedConfirmUserTypeId== userTypeId) && !t.TrialDocConfirmedUserList.Any(t=>t.ConfirmUserId==userId)).Count()) + : c.TrialDocumentList.Where(t =>t.IsDeleted==false && t.NeedConfirmedUserTypeList.Any(t=>t.NeedConfirmUserTypeId== userTypeId ) && !t.TrialDocConfirmedUserList.Any(t=>t.ConfirmUserId==userId)).Count()) );