diff --git a/IRaCIS.Core.Application/Service/Management/UserService.cs b/IRaCIS.Core.Application/Service/Management/UserService.cs index 9d539b80f..77f6fd042 100644 --- a/IRaCIS.Core.Application/Service/Management/UserService.cs +++ b/IRaCIS.Core.Application/Service/Management/UserService.cs @@ -488,7 +488,9 @@ namespace IRaCIS.Application.Services .WhereIf(!string.IsNullOrWhiteSpace(param.RealName), t => t.FullName.Contains(param.RealName)) .WhereIf(!string.IsNullOrWhiteSpace(param.Phone), t => t.Phone.Contains(param.Phone)) .WhereIf(!string.IsNullOrWhiteSpace(param.OrganizationName), t => t.OrganizationName.Contains(param.OrganizationName)) - .WhereIf(!string.IsNullOrWhiteSpace(param.EMail), t => t.EMail.Contains(param.EMail)) + .WhereIf(!string.IsNullOrWhiteSpace(param.EMail), t => t.EMail.Contains(param.EMail)) + .WhereIf(param.BeginCreateTime != null, t => t.CreateTime >= param.BeginCreateTime) + .WhereIf(param.EndCreateTime != null, t => t.CreateTime <= param.EndCreateTime) .WhereIf(param.UserType != null, t => t.UserTypeId == param.UserType) .WhereIf(param.UserState != null, t => t.Status == param.UserState) .WhereIf(param.IsTestUser != null, t => t.IsTestUser == param.IsTestUser)