fix 数据类型过滤
This commit is contained in:
@@ -69,7 +69,7 @@ public class GainfoPermissionService : IGainfoPermissionService
|
||||
? await _dbContext.Queryable<GainfoGroupEntity>().Select(x => new { x.Code, x.Name }).ToListAsync()
|
||||
: new[] { new { Code = Guid.Empty, Name = string.Empty } }.ToList();
|
||||
|
||||
list.ForEach(item =>
|
||||
list.Where(x => x.Type == request.DeviceType).ToList().ForEach(item =>
|
||||
{
|
||||
var permission = permissions.FirstOrDefault(x => x.Tenant == item.Factory);
|
||||
if (permission != null)
|
||||
|
||||
Reference in New Issue
Block a user