development
温天培 2 years ago
parent dca2c301c1
commit 0cd60758a1

@ -123,6 +123,7 @@ namespace GDZZ.Application
var entities = await _rep.AsQueryable()
.LeftJoin<Company>((u, y) => u.CompanyID == y.Id) //关联公司信息
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), u => u.Title.Contains(input.SearchValue))
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), (u, y) => y.Name.Contains(input.SearchValue))
.Select((u, y) => new MiniResumeOutput
{
CompanyID = y.Id,
@ -143,6 +144,8 @@ namespace GDZZ.Application
}
#endregion

Loading…
Cancel
Save