From 69e52ed73fd0061574f876d617bd6beedc05908c Mon Sep 17 00:00:00 2001 From: liguoyang Date: Sun, 24 Mar 2024 16:06:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=B8=B4=E6=97=B6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Sys/Identity/Services/Implements/TenantService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Src/Dlhis.Sys/Identity/Services/Implements/TenantService.cs b/Src/Dlhis.Sys/Identity/Services/Implements/TenantService.cs index 70642c2f..0716aa4b 100644 --- a/Src/Dlhis.Sys/Identity/Services/Implements/TenantService.cs +++ b/Src/Dlhis.Sys/Identity/Services/Implements/TenantService.cs @@ -30,7 +30,10 @@ public class TenantService : ITenantService public async Task> GetListAsync() { + //todo 临时写死 return await _dbContext.Queryable() + .Where(x => !string.IsNullOrEmpty(x.PCode)) + .Where(x => x.Code == "2401") .Select() .ToListAsync(); }