From d7700c3c77b46f6d75142f67ddb3628c84978b16 Mon Sep 17 00:00:00 2001
From: hang <872297557@qq.com>
Date: Wed, 29 May 2024 16:38:01 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=87=E6=B3=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
IRaCIS.Core.Application/Service/Management/UserTypeService.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/IRaCIS.Core.Application/Service/Management/UserTypeService.cs b/IRaCIS.Core.Application/Service/Management/UserTypeService.cs
index 90683cbea..f12c9e3e8 100644
--- a/IRaCIS.Core.Application/Service/Management/UserTypeService.cs
+++ b/IRaCIS.Core.Application/Service/Management/UserTypeService.cs
@@ -165,6 +165,7 @@ namespace IRaCIS.Core.Application.Contracts
///
public async Task> GetTrialUserTypeList()
{
+ //排除其他组的用户
var query = _userTypeRepository.Where(x => x.UserTypeEnum != UserTypeEnum.SuperAdmin)
.Where(t => !t.UserTypeGroupList.Any(t=> t.Group.Code=="3"))
.OrderBy(t => t.UserTypeShortName).ProjectTo(_mapper.ConfigurationProvider);