From fde4245dd884d0622eeb1fb1fea176acc15e09cf Mon Sep 17 00:00:00 2001 From: dxfeng Date: Tue, 7 Jan 2025 13:43:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8E=86=E8=AF=86=E5=88=AB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=BA=94=E8=81=98=E8=81=8C?= =?UTF-8?q?=E4=BD=8D=E5=92=8C=E7=AE=80=E5=8E=86=E6=9D=A5=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ResumeRecognitionServiceImpl.java | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java b/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java index 102595a..18874b9 100644 --- a/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java +++ b/src/com/engine/recruit/service/impl/ResumeRecognitionServiceImpl.java @@ -69,12 +69,6 @@ public class ResumeRecognitionServiceImpl extends Service implements ResumeRecog Map uploadDataMap = new HashMap<>(); qllResumeUpload(Convert.toInt(resumeId), uploadDataMap, false); Map resumeData = (Map) 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 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 fieldList = RecruitModeUtil.getFieldList("uf_jcl_yppc"); Set keySet = fieldList.stream().map(Formfield::getFieldname).collect(Collectors.toSet());