fix 排除outsource
This commit is contained in:
@@ -15,7 +15,7 @@ public class TenantPermissionAnalyzeService : BasePermissionAnalyzeService
|
||||
protected override async Task<List<string>> GetGainfoNosAsync(string assignValue)
|
||||
{
|
||||
return await DbContext.Queryable<GainfoEntity>()
|
||||
.Where(x => x.Factory == assignValue && x.Type != GainfoUserTypeEnumType.External)
|
||||
.Where(x => x.Factory == assignValue && x.Type != GainfoUserTypeEnumType.External && x.Type != GainfoUserTypeEnumType.Outsource)
|
||||
.Select(x => x.No).ToListAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user