Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jy_jfb
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
jy_jfb
Commits
8f5cf367
提交
8f5cf367
authored
9月 15, 2025
作者:
wangmenglong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
人员新增类型
上级
470eb495
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
32 行增加
和
0 行删除
+32
-0
Objective.java
jfb-lib/src/main/java/data/recruit/Objective.java
+19
-0
ObjectiveServiceImpl.java
...va/com/jfb/recruit/service/impl/ObjectiveServiceImpl.java
+13
-0
没有找到文件。
jfb-lib/src/main/java/data/recruit/Objective.java
浏览文件 @
8f5cf367
...
@@ -46,4 +46,23 @@ public class Objective extends IdentityObj {
...
@@ -46,4 +46,23 @@ public class Objective extends IdentityObj {
@TableField
(
"person_id"
)
@TableField
(
"person_id"
)
private
String
personId
;
private
String
personId
;
/**
* 行业
**/
@TableField
(
"industry_id"
)
private
String
industryId
;
/**
* 行业
**/
@TableField
(
"industry_name"
)
private
String
industryName
;
/**
* 行业
**/
@TableField
(
exist
=
false
)
private
Person
person
;
}
}
jfb-recruit/src/main/java/com/jfb/recruit/service/impl/ObjectiveServiceImpl.java
浏览文件 @
8f5cf367
...
@@ -9,13 +9,16 @@ import com.github.pagehelper.PageHelper;
...
@@ -9,13 +9,16 @@ import com.github.pagehelper.PageHelper;
import
com.jfb.recruit.bean.auth.UserContext
;
import
com.jfb.recruit.bean.auth.UserContext
;
import
com.jfb.recruit.mapper.ObjectiveMapper
;
import
com.jfb.recruit.mapper.ObjectiveMapper
;
import
com.jfb.recruit.service.ObjectiveService
;
import
com.jfb.recruit.service.ObjectiveService
;
import
com.jfb.recruit.service.PersonService
;
import
com.jfb.recruit.util.auth.UserUtils
;
import
com.jfb.recruit.util.auth.UserUtils
;
import
com.jfb.recruit.xsnowflake.SnowFlakeFactory
;
import
com.jfb.recruit.xsnowflake.SnowFlakeFactory
;
import
data.recruit.Objective
;
import
data.recruit.Objective
;
import
data.recruit.Person
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -31,6 +34,9 @@ public class ObjectiveServiceImpl extends ServiceImpl<ObjectiveMapper, Objective
...
@@ -31,6 +34,9 @@ public class ObjectiveServiceImpl extends ServiceImpl<ObjectiveMapper, Objective
@Autowired
@Autowired
SnowFlakeFactory
snowFlakeFactory
;
SnowFlakeFactory
snowFlakeFactory
;
@Resource
private
PersonService
personService
;
/**
/**
* @description: 获取求职意向列表
* @description: 获取求职意向列表
* @author: wangmenglong
* @author: wangmenglong
...
@@ -47,8 +53,15 @@ public class ObjectiveServiceImpl extends ServiceImpl<ObjectiveMapper, Objective
...
@@ -47,8 +53,15 @@ public class ObjectiveServiceImpl extends ServiceImpl<ObjectiveMapper, Objective
qw
.
eq
(
Objective:
:
getDel
,
false
)
qw
.
eq
(
Objective:
:
getDel
,
false
)
.
eq
(
StringUtils
.
isNotBlank
(
objective
.
getBaseCode
()),
Objective:
:
getBaseCode
,
objective
.
getBaseCode
())
.
eq
(
StringUtils
.
isNotBlank
(
objective
.
getBaseCode
()),
Objective:
:
getBaseCode
,
objective
.
getBaseCode
())
.
eq
(
StringUtils
.
isNotBlank
(
objective
.
getPersonId
()),
Objective:
:
getPersonId
,
objective
.
getPersonId
())
.
eq
(
StringUtils
.
isNotBlank
(
objective
.
getPersonId
()),
Objective:
:
getPersonId
,
objective
.
getPersonId
())
.
eq
(
StringUtils
.
isNotBlank
(
objective
.
getIndustryId
()),
Objective:
:
getIndustryId
,
objective
.
getIndustryId
())
.
like
(
StringUtils
.
isNotBlank
(
objective
.
getIndustryName
()),
Objective:
:
getIndustryName
,
objective
.
getIndustryName
())
.
orderByDesc
(
Objective:
:
getCreateTime
);
.
orderByDesc
(
Objective:
:
getCreateTime
);
List
<
Objective
>
objectiveList
=
super
.
list
(
qw
);
List
<
Objective
>
objectiveList
=
super
.
list
(
qw
);
objectiveList
.
stream
().
forEach
(
objective1
->
{
objective1
.
setPerson
(
personService
.
getDetails
(
objective1
.
getPersonId
()));
});
//返回查询结果
//返回查询结果
return
objectiveList
;
return
objectiveList
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论