From 0cd60758a10bf464faee7a4ee2b65ae1a36a8b20 Mon Sep 17 00:00:00 2001 From: wtp <1813748440@qq.com> Date: Sat, 8 Apr 2023 16:55:07 +0800 Subject: [PATCH] TS --- GDZZ.Application/Service/MiniResume/MiniResumeService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GDZZ.Application/Service/MiniResume/MiniResumeService.cs b/GDZZ.Application/Service/MiniResume/MiniResumeService.cs index 18843ee..26a17cc 100644 --- a/GDZZ.Application/Service/MiniResume/MiniResumeService.cs +++ b/GDZZ.Application/Service/MiniResume/MiniResumeService.cs @@ -123,6 +123,7 @@ namespace GDZZ.Application var entities = await _rep.AsQueryable() .LeftJoin((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