From e2bfb520fa5525d94fbf7c6c3b5e4f36512662fd Mon Sep 17 00:00:00 2001 From: sh Date: Thu, 12 Mar 2026 15:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=94=BE=E9=80=90=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/cms/service/impl/ESJobSearchImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-bussiness/src/main/java/com/ruoyi/cms/service/impl/ESJobSearchImpl.java b/ruoyi-bussiness/src/main/java/com/ruoyi/cms/service/impl/ESJobSearchImpl.java index 84af6ed..72c65d7 100644 --- a/ruoyi-bussiness/src/main/java/com/ruoyi/cms/service/impl/ESJobSearchImpl.java +++ b/ruoyi-bussiness/src/main/java/com/ruoyi/cms/service/impl/ESJobSearchImpl.java @@ -247,7 +247,7 @@ public class ESJobSearchImpl implements IESJobSearchService List esJobDocuments = esJobDocumentMapper.selectList(wrapper); - /*if (!isCompanyUser &&esJobDocuments.size() < esJobSearch.getPageSize()) { + if (!isCompanyUser &&esJobDocuments.size() < esJobSearch.getPageSize()) { // 定义要逐步放宽的搜索条件字段 List relaxConditions = new ArrayList<>(); relaxConditions.add(() -> newSearch.setArea(null)); @@ -290,7 +290,7 @@ public class ESJobSearchImpl implements IESJobSearchService } else { esJobDocuments = allDocuments; } - }*/ + } return esJobDocuments; } @@ -826,7 +826,7 @@ public class ESJobSearchImpl implements IESJobSearchService wrapper.limit(esJobSearch.getPageSize()); List esJobDocuments = esJobDocumentMapper.selectList(wrapper); - /*if (esJobDocuments.size() < esJobSearch.getPageSize()) { + if (esJobDocuments.size() < esJobSearch.getPageSize()) { // 定义要逐步放宽的搜索条件字段 List relaxConditions = new ArrayList<>(); relaxConditions.add(() -> newSearch.setArea(null)); @@ -869,7 +869,7 @@ public class ESJobSearchImpl implements IESJobSearchService } else { esJobDocuments = allDocuments; } - }*/ + } return esJobDocuments; }