修改上一个接口

development
温天培 2 years ago
parent c1e13028c0
commit 6f2fc08110

@ -71,7 +71,7 @@ namespace GDZZ.Application
var entities = await _rep.AsQueryable()
.LeftJoin<Company>((u, y) => u.CompanyID == y.Id) //关联公司信息
.Where(u=>u.CompanyID == input.CompanyID)
.Where(u => u.CompanyID == input.CompanyID)
.Select((u, y) => new MiniResumeOutput
{
CompanyID = y.Id,
@ -87,7 +87,7 @@ namespace GDZZ.Application
Record = u.Record,
Level = u.Level,
}).MergeTable()
.ToPagedListAsync(input.PageNo, input.PageSize);
.ToListAsync();
return entities;
}

Loading…
Cancel
Save