1.修改主页面板和任务跟踪的数据一致度

This commit is contained in:
lw 2024-06-27 17:13:39 +08:00
parent 74ec00efe4
commit cca5246358
3 changed files with 18 additions and 17 deletions

View File

@ -5,14 +5,14 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
druid:
# 主库数据源
master:
url: jdbc:mysql://192.168.1.165:3306/zeoa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: zeoa
password: dHahLWNYB7tD2Mia
# master:
# url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# username: root
# password: zero
# url: jdbc:mysql://192.168.1.165:3306/zeoa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# username: zeoa
# password: dHahLWNYB7tD2Mia
master:
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: zero
# 从库数据源
slave:
# 从数据源开关/默认关闭
@ -51,7 +51,7 @@ spring:
allow:
url-pattern: /druid/*
# 控制台管理用户名和密码
login-username: liaowei
login-username: lw
login-password: 123456
filter:
stat:

View File

@ -7,8 +7,8 @@ ruoyi:
# 版权年份
copyrightYear: 2024
# 文件路径 示例( Windows配置D:/ruoyi/uploadPathLinux配置 /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:
@ -97,8 +97,8 @@ token:
header: Authorization
# 令牌密钥
secret: vbcdefgeijklmnopqrsturwxyp
# 令牌有效期(默认30分钟
expireTime: 30
# 令牌有效期(默认240分钟
expireTime: 240
# MyBatis配置
mybatis-plus:

View File

@ -215,7 +215,7 @@ public class RecruitFollowController extends BaseController {
if(result.isPresent()){
FollowVO followVO = result.get();
//封装合格简历数
followVO.setPassResumeCount(resumeFollowRecordList.size());
followVO.setPassResumeCount(resumeFollowRecords.size());
//设置初试人数
followVO.setFirstInterviewCount(resumeFollowRecords.stream()
@ -268,6 +268,7 @@ public class RecruitFollowController extends BaseController {
ResumeFollowRecord resumeFollowRecord = resumeFollowRecords.get(0);
followVO.setPostId(resumeFollowRecord.getPostId());
followVO.setPostName(resumeFollowRecord.getPostName());
followVO.setPassResumeCount(resumeFollowRecords.size());
RecruitStructure postNodeId = recruitStructureService.getByNodeId(followVO.getPostId());
if(!ObjectUtils.isEmpty(postNodeId)) {
if (postNodeId.getTaskId() != null) {