generated from dxfeng/secondev-chapanda-feishu
ADD-千里聆下载的简历附件创建人设置
This commit is contained in:
parent
c331853c7c
commit
ffe8dd9770
|
|
@ -58,6 +58,8 @@ public class QllResumePo {
|
|||
private String lyqd;
|
||||
private String gjrsjh;
|
||||
|
||||
private int userId;
|
||||
|
||||
|
||||
/**
|
||||
* 解析JSON数组,下载文件并入库
|
||||
|
|
@ -82,7 +84,7 @@ public class QllResumePo {
|
|||
if (StringUtils.isNotBlank(disposition)) {
|
||||
InputStream inputStream = response.bodyStream();
|
||||
int imageFileId = RecruitModeUtil.generateImageFileId(inputStream, name);
|
||||
int docId = RecruitModeUtil.createDocId(Convert.toInt(RecruitConstant.APPLICANTS_RESUMES_CATEGORY), imageFileId, new User(1));
|
||||
int docId = RecruitModeUtil.createDocId(Convert.toInt(RecruitConstant.APPLICANTS_RESUMES_CATEGORY), imageFileId, new User(userId));
|
||||
resumeId = String.valueOf(docId);
|
||||
} else {
|
||||
baseBean.writeLog("千里聆附件下载失败" + response.body());
|
||||
|
|
|
|||
Loading…
Reference in New Issue