Commit 10f82465 authored by alex yao's avatar alex yao

feat[AI人力]:简历-新增学历层次字段

parent e246a2b6
...@@ -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()));
......
...@@ -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
* 教育背景 * 教育背景
......
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;
/** id /** id
*主键id *主键id
*/ */
private java.lang.Long id; private java.lang.Long id;
public java.lang.Long getId(){ public java.lang.Long getId(){
return this.id; return this.id;
} }
public void setId(java.lang.Long id){ public void setId(java.lang.Long id){
this.id = id; this.id = id;
} }
/** position /** position
*职位ID *职位ID
*/ */
private java.lang.Long position; private java.lang.Long position;
public java.lang.Long getPosition(){ public java.lang.Long getPosition(){
return this.position; return this.position;
} }
public void setPosition(java.lang.Long position){ public void setPosition(java.lang.Long position){
this.position = position; this.position = position;
} }
...@@ -73,217 +71,233 @@ public class BizHumanResourceResumeEntity { ...@@ -73,217 +71,233 @@ public class BizHumanResourceResumeEntity {
/** core_skills /** core_skills
*核心技能 *核心技能
*/ */
private java.lang.String coreSkills; private java.lang.String coreSkills;
public java.lang.String getCoreSkills(){ public java.lang.String getCoreSkills(){
return this.coreSkills; return this.coreSkills;
} }
public void setCoreSkills(java.lang.String coreSkills){ public void setCoreSkills(java.lang.String coreSkills){
this.coreSkills = coreSkills; this.coreSkills = coreSkills;
} }
/** education_background
/**
* education_level
* 学历
*/
private Integer educationLevel;
public Integer getEducationLevel() {
return educationLevel;
}
public void setEducationLevel(Integer educationLevel) {
this.educationLevel = educationLevel;
}
/** education_background
*教育背景 *教育背景
*/ */
private java.lang.String educationBackground; private java.lang.String educationBackground;
public java.lang.String getEducationBackground(){ public java.lang.String getEducationBackground(){
return this.educationBackground; return this.educationBackground;
} }
public void setEducationBackground(java.lang.String educationBackground){ public void setEducationBackground(java.lang.String educationBackground){
this.educationBackground = educationBackground; this.educationBackground = educationBackground;
} }
/** education_experience /** education_experience
*教育经历 *教育经历
*/ */
private java.lang.String educationExperience; private java.lang.String educationExperience;
public java.lang.String getEducationExperience(){ public java.lang.String getEducationExperience(){
return this.educationExperience; return this.educationExperience;
} }
public void setEducationExperience(java.lang.String educationExperience){ public void setEducationExperience(java.lang.String educationExperience){
this.educationExperience = educationExperience; this.educationExperience = educationExperience;
} }
/** gender_and_age /** gender_and_age
*性别-年龄 *性别-年龄
*/ */
private java.lang.String genderAndAge; private java.lang.String genderAndAge;
public java.lang.String getGenderAndAge(){ public java.lang.String getGenderAndAge(){
return this.genderAndAge; return this.genderAndAge;
} }
public void setGenderAndAge(java.lang.String genderAndAge){ public void setGenderAndAge(java.lang.String genderAndAge){
this.genderAndAge = genderAndAge; this.genderAndAge = genderAndAge;
} }
/** occupational_history /** occupational_history
*工作经历 *工作经历
*/ */
private java.lang.String occupationalHistory; private java.lang.String occupationalHistory;
public java.lang.String getOccupationalHistory(){ public java.lang.String getOccupationalHistory(){
return this.occupationalHistory; return this.occupationalHistory;
} }
public void setOccupationalHistory(java.lang.String occupationalHistory){ public void setOccupationalHistory(java.lang.String occupationalHistory){
this.occupationalHistory = occupationalHistory; this.occupationalHistory = occupationalHistory;
} }
/** other /** other
*技能证书、项目经验等补充内容 *技能证书、项目经验等补充内容
*/ */
private java.lang.String other; private java.lang.String other;
public java.lang.String getOther(){ public java.lang.String getOther(){
return this.other; return this.other;
} }
public void setOther(java.lang.String other){ public void setOther(java.lang.String other){
this.other = other; this.other = other;
} }
/** work_experience /** work_experience
*工作经验 *工作经验
*/ */
private java.lang.String workExperience; private java.lang.String workExperience;
public java.lang.String getWorkExperience(){ public java.lang.String getWorkExperience(){
return this.workExperience; return this.workExperience;
} }
public void setWorkExperience(java.lang.String workExperience){ public void setWorkExperience(java.lang.String workExperience){
this.workExperience = workExperience; this.workExperience = workExperience;
} }
/** work_location /** work_location
*工作地址 *工作地址
*/ */
private java.lang.String workLocation; private java.lang.String workLocation;
public java.lang.String getWorkLocation(){ public java.lang.String getWorkLocation(){
return this.workLocation; return this.workLocation;
} }
public void setWorkLocation(java.lang.String workLocation){ public void setWorkLocation(java.lang.String workLocation){
this.workLocation = workLocation; this.workLocation = workLocation;
} }
/** label /** label
*标签 *标签
*/ */
private java.lang.String label; private java.lang.String label;
public java.lang.String getLabel(){ public java.lang.String getLabel(){
return this.label; return this.label;
} }
public void setLabel(java.lang.String label){ public void setLabel(java.lang.String label){
this.label = label; this.label = label;
} }
/** evaluate /** evaluate
*AI综合评价 *AI综合评价
*/ */
private java.lang.String evaluate; private java.lang.String evaluate;
public java.lang.String getEvaluate(){ public java.lang.String getEvaluate(){
return this.evaluate; return this.evaluate;
} }
public void setEvaluate(java.lang.String evaluate){ public void setEvaluate(java.lang.String evaluate){
this.evaluate = evaluate; this.evaluate = evaluate;
} }
/** matched_degree /** matched_degree
*匹配分 *匹配分
*/ */
private java.lang.Long matchedDegree; private java.lang.Long matchedDegree;
public java.lang.Long getMatchedDegree(){ public java.lang.Long getMatchedDegree(){
return this.matchedDegree; return this.matchedDegree;
} }
public void setMatchedDegree(java.lang.Long matchedDegree){ public void setMatchedDegree(java.lang.Long matchedDegree){
this.matchedDegree = matchedDegree; this.matchedDegree = matchedDegree;
} }
/** member_id /** member_id
*上传人ID *上传人ID
*/ */
private java.lang.Long memberId; private java.lang.Long memberId;
public java.lang.Long getMemberId(){ public java.lang.Long getMemberId(){
return this.memberId; return this.memberId;
} }
public void setMemberId(java.lang.Long memberId){ public void setMemberId(java.lang.Long memberId){
this.memberId = memberId; this.memberId = memberId;
} }
/** is_deleted /** is_deleted
*是否删除 1、Y 是 2、N 否 *是否删除 1、Y 是 2、N 否
*/ */
private java.lang.String isDeleted; private java.lang.String isDeleted;
public java.lang.String getIsDeleted(){ public java.lang.String getIsDeleted(){
return this.isDeleted; return this.isDeleted;
} }
public void setIsDeleted(java.lang.String isDeleted){ public void setIsDeleted(java.lang.String isDeleted){
this.isDeleted = isDeleted; this.isDeleted = isDeleted;
} }
/** CREATOR /** CREATOR
*创建人 *创建人
*/ */
private java.lang.String creator; private java.lang.String creator;
public java.lang.String getCreator(){ public java.lang.String getCreator(){
return this.creator; return this.creator;
} }
public void setCreator(java.lang.String creator){ public void setCreator(java.lang.String creator){
this.creator = creator; this.creator = creator;
} }
/** CREATED_TIME /** CREATED_TIME
*创建时间 *创建时间
*/ */
private java.util.Date createdTime; private java.util.Date createdTime;
public java.util.Date getCreatedTime(){ public java.util.Date getCreatedTime(){
return this.createdTime; return this.createdTime;
} }
public void setCreatedTime(java.util.Date createdTime){ public void setCreatedTime(java.util.Date createdTime){
this.createdTime = createdTime; this.createdTime = createdTime;
} }
/** MODIFIER /** MODIFIER
*修改人 *修改人
*/ */
private java.lang.String modifier; private java.lang.String modifier;
public java.lang.String getModifier(){ public java.lang.String getModifier(){
return this.modifier; return this.modifier;
} }
public void setModifier(java.lang.String modifier){ public void setModifier(java.lang.String modifier){
this.modifier = modifier; this.modifier = modifier;
} }
/** MODIFIED_TIME /** MODIFIED_TIME
*修改时间 *修改时间
*/ */
private java.util.Date modifiedTime; private java.util.Date modifiedTime;
public java.util.Date getModifiedTime(){ public java.util.Date getModifiedTime(){
return this.modifiedTime; return this.modifiedTime;
} }
public void setModifiedTime(java.util.Date modifiedTime){ public void setModifiedTime(java.util.Date modifiedTime){
this.modifiedTime = modifiedTime; this.modifiedTime = modifiedTime;
} }
/** SYS_VERSION /** SYS_VERSION
*乐观锁,版本号 *乐观锁,版本号
*/ */
private java.lang.Integer sysVersion; private java.lang.Integer sysVersion;
public java.lang.Integer getSysVersion(){ public java.lang.Integer getSysVersion(){
return this.sysVersion; return this.sysVersion;
} }
public void setSysVersion(java.lang.Integer sysVersion){ public void setSysVersion(java.lang.Integer sysVersion){
this.sysVersion = sysVersion; this.sysVersion = sysVersion;
} }
......
...@@ -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;
} }
......
...@@ -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
......
...@@ -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());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment