fix 数据过滤问题
This commit is contained in:
@@ -125,7 +125,7 @@ public class FactorySettingService : IFactorySettingService
|
||||
}
|
||||
}
|
||||
|
||||
var factoryCodes = factories.Where(x => x.PCode.IsPresent()).Select(x => x.Code).ToList();
|
||||
var factoryCodes = factories.Select(x => x.Code).ToList();
|
||||
var settings = await _dbContext.Queryable<FactorySettingEntity>()
|
||||
.Where(x => factoryCodes.Contains(x.TenantId))
|
||||
.ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user