Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
10f82465
Commit
10f82465
authored
Dec 23, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat[AI人力]:简历-新增学历层次字段
parent
e246a2b6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
110 additions
and
46 deletions
+110
-46
BizHumanResourceResumeConvert.java
...uman_resources/convert/BizHumanResourceResumeConvert.java
+12
-3
BizHumanResourceResumeDto.java
...om/poc/human_resources/dto/BizHumanResourceResumeDto.java
+14
-0
BizHumanResourceResumeEntity.java
.../human_resources/entity/BizHumanResourceResumeEntity.java
+57
-43
Info.java
...n/java/cn/com/poc/human_resources/entity/resume/Info.java
+9
-0
BizHumanResourceResumeModel.java
...oc/human_resources/model/BizHumanResourceResumeModel.java
+15
-0
BizHumanResourceResumeServiceImpl.java
...urces/service/impl/BizHumanResourceResumeServiceImpl.java
+3
-0
No files found.
src/main/java/cn/com/poc/human_resources/convert/BizHumanResourceResumeConvert.java
View file @
10f82465
...
@@ -29,6 +29,7 @@ public class BizHumanResourceResumeConvert {
...
@@ -29,6 +29,7 @@ public class BizHumanResourceResumeConvert {
entity
.
setPosition
(
model
.
getPosition
());
entity
.
setPosition
(
model
.
getPosition
());
entity
.
setFileUrl
(
model
.
getFileUrl
());
entity
.
setFileUrl
(
model
.
getFileUrl
());
entity
.
setCoreSkills
(
model
.
getCoreSkills
());
entity
.
setCoreSkills
(
model
.
getCoreSkills
());
entity
.
setEducationLevel
(
model
.
getEducationLevel
());
entity
.
setEducationBackground
(
model
.
getEducationBackground
());
entity
.
setEducationBackground
(
model
.
getEducationBackground
());
entity
.
setEducationExperience
(
model
.
getEducationExperience
());
entity
.
setEducationExperience
(
model
.
getEducationExperience
());
entity
.
setGenderAndAge
(
model
.
getGenderAndAge
());
entity
.
setGenderAndAge
(
model
.
getGenderAndAge
());
...
@@ -57,6 +58,7 @@ public class BizHumanResourceResumeConvert {
...
@@ -57,6 +58,7 @@ public class BizHumanResourceResumeConvert {
model
.
setPosition
(
entity
.
getPosition
());
model
.
setPosition
(
entity
.
getPosition
());
model
.
setFileUrl
(
entity
.
getFileUrl
());
model
.
setFileUrl
(
entity
.
getFileUrl
());
model
.
setCoreSkills
(
entity
.
getCoreSkills
());
model
.
setCoreSkills
(
entity
.
getCoreSkills
());
model
.
setEducationLevel
(
entity
.
getEducationLevel
());
model
.
setEducationBackground
(
entity
.
getEducationBackground
());
model
.
setEducationBackground
(
entity
.
getEducationBackground
());
model
.
setEducationExperience
(
entity
.
getEducationExperience
());
model
.
setEducationExperience
(
entity
.
getEducationExperience
());
model
.
setGenderAndAge
(
entity
.
getGenderAndAge
());
model
.
setGenderAndAge
(
entity
.
getGenderAndAge
());
...
@@ -85,6 +87,7 @@ public class BizHumanResourceResumeConvert {
...
@@ -85,6 +87,7 @@ public class BizHumanResourceResumeConvert {
dto
.
setPosition
(
entity
.
getPosition
());
dto
.
setPosition
(
entity
.
getPosition
());
dto
.
setFileUrl
(
entity
.
getFileUrl
());
dto
.
setFileUrl
(
entity
.
getFileUrl
());
dto
.
setCoreSkills
(
entity
.
getCoreSkills
());
dto
.
setCoreSkills
(
entity
.
getCoreSkills
());
dto
.
setEducationLevel
(
entity
.
getEducationLevel
());
dto
.
setEducationBackground
(
entity
.
getEducationBackground
());
dto
.
setEducationBackground
(
entity
.
getEducationBackground
());
dto
.
setEducationExperience
(
entity
.
getEducationExperience
());
dto
.
setEducationExperience
(
entity
.
getEducationExperience
());
dto
.
setGenderAndAge
(
entity
.
getGenderAndAge
());
dto
.
setGenderAndAge
(
entity
.
getGenderAndAge
());
...
@@ -113,6 +116,7 @@ public class BizHumanResourceResumeConvert {
...
@@ -113,6 +116,7 @@ public class BizHumanResourceResumeConvert {
entity
.
setPosition
(
dto
.
getPosition
());
entity
.
setPosition
(
dto
.
getPosition
());
entity
.
setFileUrl
(
dto
.
getFileUrl
());
entity
.
setFileUrl
(
dto
.
getFileUrl
());
entity
.
setCoreSkills
(
dto
.
getCoreSkills
());
entity
.
setCoreSkills
(
dto
.
getCoreSkills
());
entity
.
setEducationLevel
(
dto
.
getEducationLevel
());
entity
.
setEducationBackground
(
dto
.
getEducationBackground
());
entity
.
setEducationBackground
(
dto
.
getEducationBackground
());
entity
.
setEducationExperience
(
dto
.
getEducationExperience
());
entity
.
setEducationExperience
(
dto
.
getEducationExperience
());
entity
.
setGenderAndAge
(
dto
.
getGenderAndAge
());
entity
.
setGenderAndAge
(
dto
.
getGenderAndAge
());
...
@@ -143,6 +147,7 @@ public class BizHumanResourceResumeConvert {
...
@@ -143,6 +147,7 @@ public class BizHumanResourceResumeConvert {
info
.
setName
(
entity
.
getName
());
info
.
setName
(
entity
.
getName
());
info
.
setCoreSkills
(
JsonUtils
.
deSerialize
(
entity
.
getCoreSkills
(),
new
TypeReference
<
List
<
String
>>()
{
info
.
setCoreSkills
(
JsonUtils
.
deSerialize
(
entity
.
getCoreSkills
(),
new
TypeReference
<
List
<
String
>>()
{
}.
getType
()));
}.
getType
()));
info
.
setEducationLevel
(
entity
.
getEducationLevel
());
info
.
setEducationBackground
(
JsonUtils
.
deSerialize
(
entity
.
getEducationBackground
(),
String
.
class
));
info
.
setEducationBackground
(
JsonUtils
.
deSerialize
(
entity
.
getEducationBackground
(),
String
.
class
));
if
(
StringUtils
.
isNotBlank
(
entity
.
getEducationExperience
()))
{
if
(
StringUtils
.
isNotBlank
(
entity
.
getEducationExperience
()))
{
...
@@ -193,10 +198,14 @@ public class BizHumanResourceResumeConvert {
...
@@ -193,10 +198,14 @@ public class BizHumanResourceResumeConvert {
bizHumanResourceResumeEntity
.
setName
(
resume
.
getInfo
().
getName
());
bizHumanResourceResumeEntity
.
setName
(
resume
.
getInfo
().
getName
());
bizHumanResourceResumeEntity
.
setCurrentPosition
(
resume
.
getInfo
().
getCurrentPosition
());
bizHumanResourceResumeEntity
.
setCurrentPosition
(
resume
.
getInfo
().
getCurrentPosition
());
bizHumanResourceResumeEntity
.
setCoreSkills
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getCoreSkills
()));
bizHumanResourceResumeEntity
.
setCoreSkills
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getCoreSkills
()));
bizHumanResourceResumeEntity
.
setEducationBackground
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getEducationBackground
()));
bizHumanResourceResumeEntity
.
setEducationLevel
(
resume
.
getInfo
().
getEducationLevel
());
bizHumanResourceResumeEntity
.
setEducationExperience
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getEducationExperience
()));
bizHumanResourceResumeEntity
.
setEducationBackground
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getEducationBackground
()));
bizHumanResourceResumeEntity
.
setEducationExperience
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getEducationExperience
()));
bizHumanResourceResumeEntity
.
setGenderAndAge
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getGenderAndAge
()));
bizHumanResourceResumeEntity
.
setGenderAndAge
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getGenderAndAge
()));
bizHumanResourceResumeEntity
.
setOccupationalHistory
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getOccupationalHistory
()));
bizHumanResourceResumeEntity
.
setOccupationalHistory
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getOccupationalHistory
()));
bizHumanResourceResumeEntity
.
setOther
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getOther
()));
bizHumanResourceResumeEntity
.
setOther
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getOther
()));
bizHumanResourceResumeEntity
.
setWorkExperience
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getWorkExperience
()));
bizHumanResourceResumeEntity
.
setWorkExperience
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getWorkExperience
()));
bizHumanResourceResumeEntity
.
setWorkLocation
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getWorkLocation
()));
bizHumanResourceResumeEntity
.
setWorkLocation
(
JsonUtils
.
serialize
(
resume
.
getInfo
().
getWorkLocation
()));
...
...
src/main/java/cn/com/poc/human_resources/dto/BizHumanResourceResumeDto.java
View file @
10f82465
...
@@ -87,6 +87,20 @@ public class BizHumanResourceResumeDto {
...
@@ -87,6 +87,20 @@ public class BizHumanResourceResumeDto {
this
.
coreSkills
=
coreSkills
;
this
.
coreSkills
=
coreSkills
;
}
}
/**
* education_level
* 学历
*/
private
Integer
educationLevel
;
public
Integer
getEducationLevel
()
{
return
educationLevel
;
}
public
void
setEducationLevel
(
Integer
educationLevel
)
{
this
.
educationLevel
=
educationLevel
;
}
/**
/**
* education_background
* education_background
* 教育背景
* 教育背景
...
...
src/main/java/cn/com/poc/human_resources/entity/BizHumanResourceResumeEntity.java
View file @
10f82465
package
cn
.
com
.
poc
.
human_resources
.
entity
;
package
cn
.
com
.
poc
.
human_resources
.
entity
;
import
javax.persistence.Column
;
public
class
BizHumanResourceResumeEntity
{
public
class
BizHumanResourceResumeEntity
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
@@ -83,6 +81,22 @@ public class BizHumanResourceResumeEntity {
...
@@ -83,6 +81,22 @@ public class BizHumanResourceResumeEntity {
public
void
setCoreSkills
(
java
.
lang
.
String
coreSkills
){
public
void
setCoreSkills
(
java
.
lang
.
String
coreSkills
){
this
.
coreSkills
=
coreSkills
;
this
.
coreSkills
=
coreSkills
;
}
}
/**
* education_level
* 学历
*/
private
Integer
educationLevel
;
public
Integer
getEducationLevel
()
{
return
educationLevel
;
}
public
void
setEducationLevel
(
Integer
educationLevel
)
{
this
.
educationLevel
=
educationLevel
;
}
/** education_background
/** education_background
*教育背景
*教育背景
*/
*/
...
...
src/main/java/cn/com/poc/human_resources/entity/resume/Info.java
View file @
10f82465
...
@@ -8,6 +8,7 @@ public class Info {
...
@@ -8,6 +8,7 @@ public class Info {
private
String
name
;
private
String
name
;
private
String
currentPosition
;
private
String
currentPosition
;
private
List
<
String
>
coreSkills
;
private
List
<
String
>
coreSkills
;
private
Integer
educationLevel
;
private
String
educationBackground
;
private
String
educationBackground
;
private
Map
<
String
,
String
>
educationExperience
;
private
Map
<
String
,
String
>
educationExperience
;
private
String
genderAndAge
;
private
String
genderAndAge
;
...
@@ -40,6 +41,14 @@ public class Info {
...
@@ -40,6 +41,14 @@ public class Info {
this
.
coreSkills
=
coreSkills
;
this
.
coreSkills
=
coreSkills
;
}
}
public
Integer
getEducationLevel
()
{
return
educationLevel
;
}
public
void
setEducationLevel
(
Integer
educationLevel
)
{
this
.
educationLevel
=
educationLevel
;
}
public
String
getEducationBackground
()
{
public
String
getEducationBackground
()
{
return
educationBackground
;
return
educationBackground
;
}
}
...
...
src/main/java/cn/com/poc/human_resources/model/BizHumanResourceResumeModel.java
View file @
10f82465
...
@@ -125,6 +125,21 @@ public class BizHumanResourceResumeModel extends BaseModelClass implements Seria
...
@@ -125,6 +125,21 @@ public class BizHumanResourceResumeModel extends BaseModelClass implements Seria
super
.
addValidField
(
"coreSkills"
);
super
.
addValidField
(
"coreSkills"
);
}
}
/**
* education_level
* 学历
*/
private
Integer
educationLevel
;
@Column
(
name
=
"education_level"
,
length
=
22
)
public
Integer
getEducationLevel
()
{
return
educationLevel
;
}
public
void
setEducationLevel
(
Integer
educationLevel
)
{
this
.
educationLevel
=
educationLevel
;
super
.
addValidField
(
"educationLevel"
);
}
/**
/**
* education_background
* education_background
...
...
src/main/java/cn/com/poc/human_resources/service/impl/BizHumanResourceResumeServiceImpl.java
View file @
10f82465
...
@@ -75,6 +75,9 @@ public class BizHumanResourceResumeServiceImpl extends BaseServiceImpl
...
@@ -75,6 +75,9 @@ public class BizHumanResourceResumeServiceImpl extends BaseServiceImpl
if
(
entity
.
getCoreSkills
()
!=
null
)
{
if
(
entity
.
getCoreSkills
()
!=
null
)
{
model
.
setCoreSkills
(
entity
.
getCoreSkills
());
model
.
setCoreSkills
(
entity
.
getCoreSkills
());
}
}
if
(
entity
.
getEducationLevel
()
!=
null
)
{
model
.
setEducationLevel
(
entity
.
getEducationLevel
());
}
if
(
entity
.
getEducationBackground
()
!=
null
)
{
if
(
entity
.
getEducationBackground
()
!=
null
)
{
model
.
setEducationBackground
(
entity
.
getEducationBackground
());
model
.
setEducationBackground
(
entity
.
getEducationBackground
());
}
}
...
...
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