fix 支持证件号搜索人员

This commit is contained in:
2025-03-08 17:51:56 +08:00
parent b29d4edda9
commit cd687b505a

View File

@@ -179,7 +179,7 @@ public class GainfoService : IGainfoService
public async Task<Pagination<GainfoAllPageResponse>> GetPageByCodeAsync(string code)
{
var page = await _gainfoStore.Queryable()
.Where(x => x.Code == code)
.Where(x => x.Code == code || x.IdNo == code)
.Select<GainfoAllPageResponse>()
.ToPageListAsync(new PageDto { PageIndex = 1, PageSize = 1 });