|
@@ -103,14 +103,12 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
|
|
|
applicantBeisenInfo.setRecuritment(recuritmentDemandInfo);
|
|
|
// 2. 获取 标准简历数据
|
|
|
JSONObject resumeJson = getResumeByApplyId(applyId);
|
|
|
+ logger.error("resumeJson--" + resumeJson);
|
|
|
Integer code = resumeJson.getInteger("code");
|
|
|
if (200 == code) {
|
|
|
- logger.error("resumeJson--" + resumeJson);
|
|
|
JSONObject data = resumeJson.getJSONObject("data");
|
|
|
// 3. 处理简历各部分数据
|
|
|
processResumeSections(ctx, data, resumeInfo);
|
|
|
- //保存附件
|
|
|
-// saveAttachment(ctx, applyId, resumeInfo);
|
|
|
//删除附件信息
|
|
|
AttachmentUtils.deleteAttachment(ctx, resumeInfo.getId().toString());
|
|
|
// 根据申请Id获取并处理简历文件
|
|
@@ -123,18 +121,17 @@ public class RecuritmentFacadeControllerBean extends AbstractRecuritmentFacadeCo
|
|
|
} else {
|
|
|
throw new BOSException(resumeJson.getString("message"));
|
|
|
}
|
|
|
+ iApplicantBeisen.save(applicantBeisenInfo);
|
|
|
} catch (Exception e) {
|
|
|
applicantBeisenInfo.setSyncStatus(ExecuteResultEnum.ERROR);
|
|
|
applicantBeisenInfo.setSyncResult("简历处理失败: " + e.getMessage());
|
|
|
iApplicantBeisen.save(applicantBeisenInfo);
|
|
|
errorSize++;
|
|
|
- logger.error("简历处理失败: " + e.getMessage());
|
|
|
+ logger.error("简历处理失败: " + e.getMessage(), e);
|
|
|
}
|
|
|
- iApplicantBeisen.save(applicantBeisenInfo);
|
|
|
}
|
|
|
- msgMap.put("成功条数", successSize);
|
|
|
- msgMap.put("失败条数", errorSize);
|
|
|
- logger.error("msgMap" + msgMap);
|
|
|
+ logger.error("成功条数" + successSize);
|
|
|
+ logger.error("失败条数" + errorSize);
|
|
|
|
|
|
}
|
|
|
|