generated from dxfeng/secondev-chapanda-feishu
职位发布-BOSS直聘,职位类别
This commit is contained in:
parent
3d22e13a29
commit
e30bcdad28
Binary file not shown.
|
|
@ -64,7 +64,10 @@ public class RecruitPositionUtil {
|
||||||
// 招聘人数
|
// 招聘人数
|
||||||
Integer zprs = Convert.toInt(map.get("zprs"), 1);
|
Integer zprs = Convert.toInt(map.get("zprs"), 1);
|
||||||
// 职位类别
|
// 职位类别
|
||||||
String jobCategory = "不限";
|
String zwlx = Util.null2String(map.get("zwlx"));
|
||||||
|
String zwlx2 = Util.null2String(map.get("zwlx2"));
|
||||||
|
String zwlx3 = Util.null2String(map.get("zwlx3"));
|
||||||
|
|
||||||
|
|
||||||
// 工作地点
|
// 工作地点
|
||||||
String gzdd = Convert.toStr(map.get("gzdd"));
|
String gzdd = Convert.toStr(map.get("gzdd"));
|
||||||
|
|
@ -118,7 +121,7 @@ public class RecruitPositionUtil {
|
||||||
|
|
||||||
// 招聘职位类型与特殊设置字段
|
// 招聘职位类型与特殊设置字段
|
||||||
ResumeJobV2Dto resumeJobV2Dto = new ResumeJobV2Dto();
|
ResumeJobV2Dto resumeJobV2Dto = new ResumeJobV2Dto();
|
||||||
if(StringUtils.isNotBlank(workPlaceShowName)){
|
if (StringUtils.isNotBlank(workPlaceShowName)) {
|
||||||
resumeJobV2Dto.setJobArea(workPlaceShowName);
|
resumeJobV2Dto.setJobArea(workPlaceShowName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -147,11 +150,21 @@ public class RecruitPositionUtil {
|
||||||
}
|
}
|
||||||
// 配置职位描述
|
// 配置职位描述
|
||||||
resumeJobV2Dto.setJobdesc(jobDescription);
|
resumeJobV2Dto.setJobdesc(jobDescription);
|
||||||
|
new BaseBean().writeLog("zwlx=" + zwlx + ",zwlx2=" + zwlx2 + ",zwlx3=" + zwlx3);
|
||||||
// 配置职位类别
|
// 配置职位类别
|
||||||
|
int formId = ApplicantCommonInfo.getFormIdByTableName("uf_jcl_zp_zpzw");
|
||||||
|
String zwlxStr = ApplicantCommonInfo.getSelectName(String.valueOf(formId), "zwlx", zwlx);
|
||||||
|
String zwlx2Str = ApplicantCommonInfo.getSelectName(String.valueOf(formId), "zwlx2", zwlx2);
|
||||||
|
String zwlx3Str = ApplicantCommonInfo.getSelectName(String.valueOf(formId), "zwlx3", zwlx3);
|
||||||
|
String jobCategory = zwlxStr + "-" + zwlx2Str + "-" + zwlx3Str;
|
||||||
|
new BaseBean().writeLog("zwlxStr=" + zwlxStr + ",zwlx2Str=" + zwlx2Str + ",zwlx3Str=" + zwlx3Str);
|
||||||
|
new BaseBean().writeLog("jobCategory=" + jobCategory);
|
||||||
|
|
||||||
List<ResumeJobDynamicField.Item> items = new ArrayList<>();
|
List<ResumeJobDynamicField.Item> items = new ArrayList<>();
|
||||||
ResumeJobDynamicField.Item item = new ResumeJobDynamicField.Item();
|
ResumeJobDynamicField.Item item = new ResumeJobDynamicField.Item();
|
||||||
item.setLabel("0");
|
item.setLabel(String.valueOf(ResumePlatform.BOSSZHIPIN));
|
||||||
item.setValue(jobCategory);
|
item.setValue(jobCategory);
|
||||||
|
items.add(item);
|
||||||
resumeJobV2Dto.setJobType(items);
|
resumeJobV2Dto.setJobType(items);
|
||||||
|
|
||||||
// 招聘职位条件
|
// 招聘职位条件
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue