Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
张文彪
/
employmentBusinessPc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5d5196c5
authored
Dec 08, 2025
by
zwb
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改岗位智推分析数据保存使用cityCode
parent
ce8faa9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/controller/JobRecommendController.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/jobRecommend/impl/RecommendPositionServiceImpl.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/controller/JobRecommendController.java
View file @
5d5196c5
...
@@ -106,7 +106,6 @@ public class JobRecommendController {
...
@@ -106,7 +106,6 @@ public class JobRecommendController {
/**
/**
* 查询推荐岗位列表
* 查询推荐岗位列表
*
* @param dto
* @param dto
* @return
* @return
*/
*/
...
...
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/jobRecommend/impl/RecommendPositionServiceImpl.java
View file @
5d5196c5
...
@@ -1139,17 +1139,18 @@ public class RecommendPositionServiceImpl implements RecommendPositionService {
...
@@ -1139,17 +1139,18 @@ public class RecommendPositionServiceImpl implements RecommendPositionService {
* 构建推荐参数
* 构建推荐参数
*/
*/
private
List
<
RcommendParam
>
buildRecommendParams
(
AiRecommendVo
aiRecommendVo
,
List
<
FunctionResumeSketch
>
resumeSketchList
)
{
private
List
<
RcommendParam
>
buildRecommendParams
(
AiRecommendVo
aiRecommendVo
,
List
<
FunctionResumeSketch
>
resumeSketchList
)
{
Map
<
String
,
String
>
cityMap
=
extractProfileData
(
aiRecommendVo
);
//
Map<String, String> cityMap = extractProfileData(aiRecommendVo);
String
jobTypeString
=
convertJobType
(
aiRecommendVo
.
getJobType
());
String
jobTypeString
=
convertJobType
(
aiRecommendVo
.
getJobType
());
List
<
RcommendParam
>
rcommendParamList
=
new
ArrayList
<>();
List
<
RcommendParam
>
rcommendParamList
=
new
ArrayList
<>();
String
finalJobTypeString
=
jobTypeString
;
String
finalJobTypeString
=
jobTypeString
;
cityMap
.
forEach
((
k
,
v
)
->
{
List
<
String
>
cityCodes
=
aiRecommendVo
.
getTargetCity
();
for
(
String
cityCode
:
cityCodes
)
{
for
(
String
jobTitle
:
aiRecommendVo
.
getCareer
())
{
for
(
String
jobTitle
:
aiRecommendVo
.
getCareer
())
{
for
(
FunctionResumeSketch
resumeSketch
:
resumeSketchList
)
{
for
(
FunctionResumeSketch
resumeSketch
:
resumeSketchList
)
{
RcommendParam
rcommendParam
=
new
RcommendParam
();
RcommendParam
rcommendParam
=
new
RcommendParam
();
rcommendParam
.
cityCode
=
v
;
rcommendParam
.
cityCode
=
cityCode
;
rcommendParam
.
jobTitle
=
jobTitle
;
rcommendParam
.
jobTitle
=
jobTitle
;
rcommendParam
.
pay
=
aiRecommendVo
.
getPay
();
rcommendParam
.
pay
=
aiRecommendVo
.
getPay
();
rcommendParam
.
isIntern
=
finalJobTypeString
;
rcommendParam
.
isIntern
=
finalJobTypeString
;
...
@@ -1159,8 +1160,7 @@ public class RecommendPositionServiceImpl implements RecommendPositionService {
...
@@ -1159,8 +1160,7 @@ public class RecommendPositionServiceImpl implements RecommendPositionService {
rcommendParamList
.
add
(
rcommendParam
);
rcommendParamList
.
add
(
rcommendParam
);
}
}
}
}
});
}
return
rcommendParamList
;
return
rcommendParamList
;
}
}
...
@@ -1236,13 +1236,13 @@ public class RecommendPositionServiceImpl implements RecommendPositionService {
...
@@ -1236,13 +1236,13 @@ public class RecommendPositionServiceImpl implements RecommendPositionService {
AiRecommendVo
aiRecommendVo
=
aiAnalysisService
.
queryAnalysisData
(
analysisId
);
AiRecommendVo
aiRecommendVo
=
aiAnalysisService
.
queryAnalysisData
(
analysisId
);
// 获取城市信息
// 获取城市信息
Map
<
String
,
String
>
cityMap
=
extractProfileData
(
aiRecommendVo
);
//
Map<String, String> cityMap = extractProfileData(aiRecommendVo);
if
(
CollectionUtil
.
isEmpty
(
cityMap
))
{
//
if (CollectionUtil.isEmpty(cityMap)) {
addProcess
(
userId
,
new
ProcessItem
(
"error"
,
"获取城市失败,结束推荐岗位"
,
0
,
DateTimeWrapper
.
now
().
toString
()));
//
addProcess(userId, new ProcessItem("error", "获取城市失败,结束推荐岗位", 0, DateTimeWrapper.now().toString()));
log
.
error
(
"获取城市失败,结束推荐岗位"
);
//
log.error("获取城市失败,结束推荐岗位");
aiAnalysisMapper
.
updateAnalysis
(
analysisId
,
0
,
userId
,
0
);
//
aiAnalysisMapper.updateAnalysis(analysisId, 0, userId, 0);
return
null
;
//
return null;
}
//
}
return
aiRecommendVo
;
return
aiRecommendVo
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment