generated from dxfeng/secondev-chapanda-feishu
简历识别页面,添加应聘职位和简历来源
This commit is contained in:
parent
3264b96d95
commit
fde4245dd8
|
|
@ -69,12 +69,6 @@ public class ResumeRecognitionServiceImpl extends Service implements ResumeRecog
|
|||
Map<String, Object> uploadDataMap = new HashMap<>();
|
||||
qllResumeUpload(Convert.toInt(resumeId), uploadDataMap, false);
|
||||
Map<String, Object> resumeData = (Map<String, Object>) uploadDataMap.get("data");
|
||||
if(StringUtils.isNotBlank(positionId)){
|
||||
resumeData.put("ypzw", positionId);
|
||||
}
|
||||
if(StringUtils.isNotBlank(sourceType)){
|
||||
resumeData.put("jlly", sourceType);
|
||||
}
|
||||
// 添加原始附件字段信息
|
||||
int secCategory = Convert.toInt(RecruitConstant.APPLICANTS_RESUMES_CATEGORY);
|
||||
try {
|
||||
|
|
@ -91,6 +85,25 @@ public class ResumeRecognitionServiceImpl extends Service implements ResumeRecog
|
|||
|
||||
// 状态
|
||||
resumeData.put("zt", ApplicationStatusEnum.DISTRIBUTION.getValue());
|
||||
if(StringUtils.isNotBlank(positionId)){
|
||||
resumeData.put("ypzw", positionId);
|
||||
resumeData.put("zt", ApplicationStatusEnum.CANDIDATE.getValue());
|
||||
String flowId = PositionCommonInfo.getRecruitFlowId(positionId);
|
||||
Map<String, String> initialStage = ApplicantCommonInfo.getInitialStage(flowId);
|
||||
if (null != initialStage) {
|
||||
String zpjd = initialStage.get("zpjd");
|
||||
String dqypjd = initialStage.get("jdlx");
|
||||
if (StringUtils.isNotBlank(zpjd) && StringUtils.isNotBlank(dqypjd)) {
|
||||
resumeData.put("zplc", flowId);
|
||||
resumeData.put("zpjd", zpjd);
|
||||
resumeData.put("dqypjd", dqypjd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(StringUtils.isNotBlank(sourceType)){
|
||||
resumeData.put("jlly", sourceType);
|
||||
}
|
||||
|
||||
List<Formfield> fieldList = RecruitModeUtil.getFieldList("uf_jcl_yppc");
|
||||
Set<String> keySet = fieldList.stream().map(Formfield::getFieldname).collect(Collectors.toSet());
|
||||
|
|
|
|||
Loading…
Reference in New Issue