From 65e20a89a165082cef9715cf1c8f36140978fd89 Mon Sep 17 00:00:00 2001 From: lw <532810027@qq.com> Date: Tue, 2 Jul 2024 20:18:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A1=B5=E5=B2=97=E4=BD=8D=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E5=90=88=E6=A0=BC=E7=AE=80=E5=8E=86=E6=95=B0=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zeroerr_oa-admin/src/main/resources/application.yml | 12 ++++++------ .../cn/zeroerr/controller/HomePageController.java | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zeroerr_oa-admin/src/main/resources/application.yml b/zeroerr_oa-admin/src/main/resources/application.yml index f44ce9a..3d7e309 100644 --- a/zeroerr_oa-admin/src/main/resources/application.yml +++ b/zeroerr_oa-admin/src/main/resources/application.yml @@ -7,8 +7,8 @@ ruoyi: # 版权年份 copyrightYear: 2024 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) - profile: D:/zeroerr/uploadPath - #profile: /home/zeroerr_oa/uploadPath + #profile: D:/zeroerr/uploadPath + profile: /home/zeroerr_oa/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 @@ -69,15 +69,15 @@ spring: # redis 配置 redis: # 地址 - #host: 192.168.1.189 - host: localhost + host: 192.168.1.189 + #host: localhost # 端口,默认为6379 port: 6379 # 数据库索引 database: 0 # 密码 - #password: 123456 - password: + password: 123456 + #password: # 连接超时时间 timeout: 10s lettuce: diff --git a/zeroerr_oa-recruit/src/main/java/cn/zeroerr/controller/HomePageController.java b/zeroerr_oa-recruit/src/main/java/cn/zeroerr/controller/HomePageController.java index 7c76054..0f516c9 100644 --- a/zeroerr_oa-recruit/src/main/java/cn/zeroerr/controller/HomePageController.java +++ b/zeroerr_oa-recruit/src/main/java/cn/zeroerr/controller/HomePageController.java @@ -311,9 +311,9 @@ public class HomePageController extends BaseController { } ); if (!CollectionUtils.isEmpty(postDetailDTOList)) { - //根据《岗位查看》简历数进行排序 + //根据合格简历数多少进行排序 List sortedList = postDetailDTOList.stream() - .sorted(Comparator.comparingInt(PostDetailDTO::getPostLookResumeCounts).reversed()) // 从大到小排序 + .sorted(Comparator.comparingInt(PostDetailDTO::getPostQualifiedResumeCounts).reversed()) // 从大到小排序 .collect(Collectors.toList()); sortedList.forEach( post -> {