修改用户类型返回接口

Uat_Study
{872297557@qq.com} 2022-12-01 14:40:40 +08:00 committed by he
parent c99381bad4
commit e5699e994a
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ namespace IRaCIS.Core.Application.Contracts
}
var query = userTypeServiceRepository.Where(x => x.UserTypeEnum != UserTypeEnum.SuperAdmin)
.WhereIf(userTypeSelectEnum != UserTypeSelectEnum.None, t => userTypeEnums.Contains(t.UserTypeEnum))
.OrderBy(t => t.Order).ProjectTo<TrialUserType>(_mapper.ConfigurationProvider);