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
14e5fe5c
authored
Dec 04, 2025
by
zwb
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改简历基本信息管理功能
parent
e8edde8b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
12 deletions
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/controller/NewEditionResumeController.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/mapper/FunctionResumeBaseTagMapper.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/jobRecommend/impl/AiAnalysisServiceImpl.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/resume/NewEditionResumeService.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/resume/impl/NewEditionResumeServiceImpl.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/controller/NewEditionResumeController.java
View file @
14e5fe5c
...
@@ -221,7 +221,7 @@ public class NewEditionResumeController {
...
@@ -221,7 +221,7 @@ public class NewEditionResumeController {
*/
*/
@PostMapping
(
value
=
"/resume-data-tagList"
)
@PostMapping
(
value
=
"/resume-data-tagList"
)
@RepeatSubmit
@RepeatSubmit
public
R
<
List
<
String
>>
resumeDataTagList
(
@RequestBody
ResumeMakeDto
dto
){
public
R
<
List
<
Map
<
String
,
Object
>
>>
resumeDataTagList
(
@RequestBody
ResumeMakeDto
dto
){
if
(
null
==
dto
.
getResumeId
()){
if
(
null
==
dto
.
getResumeId
()){
throw
new
JxgException
(
"简历id不能为空"
);
throw
new
JxgException
(
"简历id不能为空"
);
}
}
...
@@ -235,7 +235,7 @@ public class NewEditionResumeController {
...
@@ -235,7 +235,7 @@ public class NewEditionResumeController {
*/
*/
@PostMapping
(
value
=
"/update-resume-tagList"
)
@PostMapping
(
value
=
"/update-resume-tagList"
)
@RepeatSubmit
@RepeatSubmit
public
R
<
List
<
String
>>
updateResumeTagList
(
@RequestBody
ResumeBaseTagDto
dto
){
public
R
<
List
<
Map
<
String
,
Object
>
>>
updateResumeTagList
(
@RequestBody
ResumeBaseTagDto
dto
){
if
(
null
==
dto
.
getResumeId
()){
if
(
null
==
dto
.
getResumeId
()){
throw
new
JxgException
(
"简历id不能为空"
);
throw
new
JxgException
(
"简历id不能为空"
);
}
}
...
@@ -253,6 +253,7 @@ public class NewEditionResumeController {
...
@@ -253,6 +253,7 @@ public class NewEditionResumeController {
if
(
null
==
dto
.
getWorkExperience
()&&
dto
.
getInternshipExperience
()==
null
){
if
(
null
==
dto
.
getWorkExperience
()&&
dto
.
getInternshipExperience
()==
null
){
throw
new
JxgException
(
"切换经历不能为空"
);
throw
new
JxgException
(
"切换经历不能为空"
);
}
}
return
R
.
ok
(
this
.
newEditionResumeService
.
reversalExperience
(
dto
));
this
.
newEditionResumeService
.
reversalExperience
(
dto
);
return
R
.
ok
();
}
}
}
}
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/mapper/FunctionResumeBaseTagMapper.java
View file @
14e5fe5c
...
@@ -5,6 +5,7 @@ import com.bkty.system.domain.entity.FunctionResumeBaseTag;
...
@@ -5,6 +5,7 @@ import com.bkty.system.domain.entity.FunctionResumeBaseTag;
import
org.apache.ibatis.annotations.*
;
import
org.apache.ibatis.annotations.*
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 个人简历基本数据标签Mapper
* 个人简历基本数据标签Mapper
...
@@ -60,4 +61,11 @@ and ft.is_show = 0""")
...
@@ -60,4 +61,11 @@ and ft.is_show = 0""")
"</script>"
"</script>"
})
})
void
updateResumeTag
(
@Param
(
"resumeId"
)
String
resumeId
,
@Param
(
"resumeBaseTagNameList"
)
List
<
String
>
resumeBaseTagNameList
);
void
updateResumeTag
(
@Param
(
"resumeId"
)
String
resumeId
,
@Param
(
"resumeBaseTagNameList"
)
List
<
String
>
resumeBaseTagNameList
);
@Select
(
"""
select tag_name tagName,is_show isShow
from function_resume_base_tag ft
where ft.resume_id = #{resumeId}
"""
)
List
<
Map
<
String
,
Object
>>
selectTagList
(
String
resumeId
);
}
}
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/jobRecommend/impl/AiAnalysisServiceImpl.java
View file @
14e5fe5c
...
@@ -104,7 +104,7 @@ public class AiAnalysisServiceImpl extends ServiceImpl<AiRecommendBaseMapper, Ai
...
@@ -104,7 +104,7 @@ public class AiAnalysisServiceImpl extends ServiceImpl<AiRecommendBaseMapper, Ai
aiRecommendBase
.
setRecommendStatus
(
0
);
//未推荐
aiRecommendBase
.
setRecommendStatus
(
0
);
//未推荐
aiRecommendBase
.
setUserId
(
Objects
.
requireNonNull
(
LoginHelper
.
getLoginUser
()).
getUserId
());
aiRecommendBase
.
setUserId
(
Objects
.
requireNonNull
(
LoginHelper
.
getLoginUser
()).
getUserId
());
this
.
baseMapper
.
insert
(
aiRecommendBase
);
this
.
baseMapper
.
insert
(
aiRecommendBase
);
redisTemplate
.
opsForValue
().
set
(
Constants
.
REDIS_USER_ANALYSIS_KEY
.
formatted
(
dto
.
getResume
Id
()),
JSON
.
toJSONString
(
aiRecommendBase
));
redisTemplate
.
opsForValue
().
set
(
Constants
.
REDIS_USER_ANALYSIS_KEY
.
formatted
(
aiRecommendBase
.
get
Id
()),
JSON
.
toJSONString
(
aiRecommendBase
));
return
String
.
valueOf
(
aiRecommendBase
.
getId
());
return
String
.
valueOf
(
aiRecommendBase
.
getId
());
}
}
}
}
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/resume/NewEditionResumeService.java
View file @
14e5fe5c
...
@@ -103,14 +103,14 @@ public interface NewEditionResumeService {
...
@@ -103,14 +103,14 @@ public interface NewEditionResumeService {
* 查询个人简历基本信息标签列表
* 查询个人简历基本信息标签列表
* @param resumeId
* @param resumeId
*/
*/
List
<
String
>
resumeDataTagList
(
String
resumeId
);
List
<
Map
<
String
,
Object
>
>
resumeDataTagList
(
String
resumeId
);
/**
/**
* 更新个人简历基本信息标签列表
* 更新个人简历基本信息标签列表
* @param dto
* @param dto
* @return
* @return
*/
*/
List
<
String
>
updateResumeTagList
(
ResumeBaseTagDto
dto
);
List
<
Map
<
String
,
Object
>
>
updateResumeTagList
(
ResumeBaseTagDto
dto
);
/**
/**
* 个人简历工作经历与实习经历切换
* 个人简历工作经历与实习经历切换
...
@@ -118,6 +118,6 @@ public interface NewEditionResumeService {
...
@@ -118,6 +118,6 @@ public interface NewEditionResumeService {
* @param dto
* @param dto
* @return
* @return
*/
*/
String
reversalExperience
(
ResumeExpChangeDto
dto
)
throws
Exception
;
void
reversalExperience
(
ResumeExpChangeDto
dto
)
throws
Exception
;
}
}
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/service/resume/impl/NewEditionResumeServiceImpl.java
View file @
14e5fe5c
...
@@ -928,12 +928,12 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
...
@@ -928,12 +928,12 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
}
}
@Override
@Override
public
List
<
String
>
resumeDataTagList
(
String
resumeId
)
{
public
List
<
Map
<
String
,
Object
>
>
resumeDataTagList
(
String
resumeId
)
{
return
resumeBaseTagMapper
.
selectTag
Name
List
(
resumeId
);
return
resumeBaseTagMapper
.
selectTagList
(
resumeId
);
}
}
@Override
@Override
public
List
<
String
>
updateResumeTagList
(
ResumeBaseTagDto
dto
)
{
public
List
<
Map
<
String
,
Object
>
>
updateResumeTagList
(
ResumeBaseTagDto
dto
)
{
String
resumeId
=
dto
.
getResumeId
();
String
resumeId
=
dto
.
getResumeId
();
List
<
String
>
resumeBaseTagNameList
=
dto
.
getResumeNameList
();
List
<
String
>
resumeBaseTagNameList
=
dto
.
getResumeNameList
();
...
@@ -951,7 +951,7 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
...
@@ -951,7 +951,7 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
}
}
@Override
@Override
public
String
reversalExperience
(
ResumeExpChangeDto
dto
)
throws
Exception
{
public
void
reversalExperience
(
ResumeExpChangeDto
dto
)
throws
Exception
{
//修改工作经历
//修改工作经历
if
(
dto
.
getWorkExperience
()!=
null
){
if
(
dto
.
getWorkExperience
()!=
null
){
if
(
StringUtils
.
isNotBlank
(
dto
.
getWorkExperience
().
getModelName
()))
if
(
StringUtils
.
isNotBlank
(
dto
.
getWorkExperience
().
getModelName
()))
...
@@ -962,7 +962,6 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
...
@@ -962,7 +962,6 @@ public class NewEditionResumeServiceImpl implements NewEditionResumeService {
if
(
StringUtils
.
isNotBlank
(
dto
.
getInternshipExperience
().
getModelName
()))
if
(
StringUtils
.
isNotBlank
(
dto
.
getInternshipExperience
().
getModelName
()))
updateModule
(
dto
.
getInternshipExperience
().
getModelName
(),
dto
.
getInternshipExperience
());
updateModule
(
dto
.
getInternshipExperience
().
getModelName
(),
dto
.
getInternshipExperience
());
}
}
return
null
;
}
}
public
String
sanitizeFileName
(
String
fileName
)
{
public
String
sanitizeFileName
(
String
fileName
)
{
...
...
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