From cd687b505a4bdb924bac0e4654485188e36b3872 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Sat, 8 Mar 2025 17:51:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=94=AF=E6=8C=81=E8=AF=81=E4=BB=B6?= =?UTF-8?q?=E5=8F=B7=E6=90=9C=E7=B4=A2=E4=BA=BA=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Organization/Services/Implements/GainfoService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs index 3f1b7bf1..7725311b 100644 --- a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs +++ b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoService.cs @@ -179,7 +179,7 @@ public class GainfoService : IGainfoService public async Task> GetPageByCodeAsync(string code) { var page = await _gainfoStore.Queryable() - .Where(x => x.Code == code) + .Where(x => x.Code == code || x.IdNo == code) .Select() .ToPageListAsync(new PageDto { PageIndex = 1, PageSize = 1 });