generated from dxfeng/secondev-chapanda-feishu
BUG修复--职位发布,职位描述优化
This commit is contained in:
parent
ac2dc7530f
commit
61b42912e4
|
|
@ -34,6 +34,7 @@ public class RecruitPositionUtil {
|
|||
public static ResumeJobDto convertMap2ResumeJobDto(Map<String, Object> map) {
|
||||
String positionName = Convert.toStr(map.get("zpzwmc"));//职位名称
|
||||
String positionDuty = Convert.toStr(map.get("gwzz"));//职位职责
|
||||
String jobRequirements = Convert.toStr(map.get("rzyq"));//任职要求
|
||||
String finishTime = Convert.toStr(map.get("zpjzrq"));//完成时间
|
||||
String education = ApplicantCommonInfo.getRecruitCommonBrowserValue(Convert.toStr(map.get("zdxlyq")));//学历要求
|
||||
String workYears = ApplicantCommonInfo.getRecruitCommonBrowserValue(Convert.toStr(map.get("gznx")));//工作年限
|
||||
|
|
@ -100,7 +101,15 @@ public class RecruitPositionUtil {
|
|||
|
||||
// 招聘职位基本描述
|
||||
resumeJobDto.setJobname(positionName); // 配置职位名称
|
||||
resumeJobDto.setJobdesc(positionDuty); // 配置职位描述
|
||||
String jobDescription = "";
|
||||
if (StringUtils.isNotBlank(positionDuty)) {
|
||||
jobDescription += "职位职责:\n" + positionDuty +"\n\n";
|
||||
}
|
||||
if (StringUtils.isNotBlank(jobRequirements)) {
|
||||
jobDescription += "任职要求:\n" + jobRequirements;
|
||||
}
|
||||
|
||||
resumeJobDto.setJobdesc(jobDescription); // 配置职位描述
|
||||
resumeJobDto.setJobType(jobCategory); // 配置职位类别
|
||||
|
||||
// 招聘职位条件
|
||||
|
|
|
|||
Loading…
Reference in New Issue