|
|
@ -123,7 +123,11 @@ namespace GDZZ.Application
|
|
|
|
var entities = await _rep.AsQueryable()
|
|
|
|
var entities = await _rep.AsQueryable()
|
|
|
|
.LeftJoin<Company>((u, y) => u.CompanyID == y.Id) //关联公司信息
|
|
|
|
.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 => u.Title.Contains(input.SearchValue))
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), (u, y) => y.Name.Contains(input.SearchValue))
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), u => u.CompanyName.Contains(input.SearchValue))
|
|
|
|
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), u => u.Level.Contains(input.SearchValue))
|
|
|
|
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), u => u.RegionName.Contains(input.SearchValue))
|
|
|
|
|
|
|
|
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), u => u.Sak.Contains(input.SearchValue))
|
|
|
|
|
|
|
|
//.WhereIF(!string.IsNullOrWhiteSpace(input.SearchValue), (u, y) => y.Name.Contains(input.SearchValue))
|
|
|
|
.Select((u, y) => new MiniResumeOutput
|
|
|
|
.Select((u, y) => new MiniResumeOutput
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CompanyID = y.Id,
|
|
|
|
CompanyID = y.Id,
|
|
|
|