fix 支持证件号搜索人员
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user