1.修改主页面板和任务跟踪的数据一致度
This commit is contained in:
parent
74ec00efe4
commit
cca5246358
|
@ -5,14 +5,14 @@ spring:
|
||||||
driverClassName: com.mysql.cj.jdbc.Driver
|
driverClassName: com.mysql.cj.jdbc.Driver
|
||||||
druid:
|
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:
|
# master:
|
||||||
# url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
# url: jdbc:mysql://192.168.1.165:3306/zeoa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
# username: root
|
# username: zeoa
|
||||||
# password: zero
|
# 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:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
|
@ -51,7 +51,7 @@ spring:
|
||||||
allow:
|
allow:
|
||||||
url-pattern: /druid/*
|
url-pattern: /druid/*
|
||||||
# 控制台管理用户名和密码
|
# 控制台管理用户名和密码
|
||||||
login-username: liaowei
|
login-username: lw
|
||||||
login-password: 123456
|
login-password: 123456
|
||||||
filter:
|
filter:
|
||||||
stat:
|
stat:
|
||||||
|
|
|
@ -7,8 +7,8 @@ ruoyi:
|
||||||
# 版权年份
|
# 版权年份
|
||||||
copyrightYear: 2024
|
copyrightYear: 2024
|
||||||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||||||
#profile: D:/zeroerr/uploadPath
|
profile: D:/zeroerr/uploadPath
|
||||||
profile: /home/zeroerr_oa/uploadPath
|
#profile: /home/zeroerr_oa/uploadPath
|
||||||
# 获取ip地址开关
|
# 获取ip地址开关
|
||||||
addressEnabled: false
|
addressEnabled: false
|
||||||
# 验证码类型 math 数字计算 char 字符验证
|
# 验证码类型 math 数字计算 char 字符验证
|
||||||
|
@ -69,15 +69,15 @@ spring:
|
||||||
# redis 配置
|
# redis 配置
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: 192.168.1.189
|
#host: 192.168.1.189
|
||||||
#host: localhost
|
host: localhost
|
||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 6379
|
port: 6379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
database: 0
|
database: 0
|
||||||
# 密码
|
# 密码
|
||||||
password: 123456
|
#password: 123456
|
||||||
#password:
|
password:
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
|
@ -97,8 +97,8 @@ token:
|
||||||
header: Authorization
|
header: Authorization
|
||||||
# 令牌密钥
|
# 令牌密钥
|
||||||
secret: vbcdefgeijklmnopqrsturwxyp
|
secret: vbcdefgeijklmnopqrsturwxyp
|
||||||
# 令牌有效期(默认30分钟)
|
# 令牌有效期(默认240分钟)
|
||||||
expireTime: 30
|
expireTime: 240
|
||||||
|
|
||||||
# MyBatis配置
|
# MyBatis配置
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
|
|
|
@ -215,7 +215,7 @@ public class RecruitFollowController extends BaseController {
|
||||||
if(result.isPresent()){
|
if(result.isPresent()){
|
||||||
FollowVO followVO = result.get();
|
FollowVO followVO = result.get();
|
||||||
//封装合格简历数
|
//封装合格简历数
|
||||||
followVO.setPassResumeCount(resumeFollowRecordList.size());
|
followVO.setPassResumeCount(resumeFollowRecords.size());
|
||||||
|
|
||||||
//设置初试人数
|
//设置初试人数
|
||||||
followVO.setFirstInterviewCount(resumeFollowRecords.stream()
|
followVO.setFirstInterviewCount(resumeFollowRecords.stream()
|
||||||
|
@ -268,6 +268,7 @@ public class RecruitFollowController extends BaseController {
|
||||||
ResumeFollowRecord resumeFollowRecord = resumeFollowRecords.get(0);
|
ResumeFollowRecord resumeFollowRecord = resumeFollowRecords.get(0);
|
||||||
followVO.setPostId(resumeFollowRecord.getPostId());
|
followVO.setPostId(resumeFollowRecord.getPostId());
|
||||||
followVO.setPostName(resumeFollowRecord.getPostName());
|
followVO.setPostName(resumeFollowRecord.getPostName());
|
||||||
|
followVO.setPassResumeCount(resumeFollowRecords.size());
|
||||||
RecruitStructure postNodeId = recruitStructureService.getByNodeId(followVO.getPostId());
|
RecruitStructure postNodeId = recruitStructureService.getByNodeId(followVO.getPostId());
|
||||||
if(!ObjectUtils.isEmpty(postNodeId)) {
|
if(!ObjectUtils.isEmpty(postNodeId)) {
|
||||||
if (postNodeId.getTaskId() != null) {
|
if (postNodeId.getTaskId() != null) {
|
||||||
|
|
Loading…
Reference in New Issue