Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
70e2ee9d
Commit
70e2ee9d
authored
Apr 21, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加原始文件路径
parent
42c43ee3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxx.java
+5
-0
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
+11
-0
src/main/java/cn/timer/api/dto/zpgl/ImportCandidateDto.java
+12
-0
No files found.
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxx.java
View file @
70e2ee9d
...
@@ -260,6 +260,11 @@ public class ZpglRcxx extends Model<ZpglRcxx> {
...
@@ -260,6 +260,11 @@ public class ZpglRcxx extends Model<ZpglRcxx> {
@ApiModelProperty
(
value
=
"毕业院校"
)
@ApiModelProperty
(
value
=
"毕业院校"
)
private
String
universitie
;
private
String
universitie
;
/**
/**
* 专业名称
*/
@ApiModelProperty
(
value
=
"专业名称"
)
private
String
subject
;
/**
* 最近工作单位
* 最近工作单位
*/
*/
@ApiModelProperty
(
value
=
"最近工作单位"
)
@ApiModelProperty
(
value
=
"最近工作单位"
)
...
...
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
View file @
70e2ee9d
...
@@ -15,6 +15,7 @@ import cn.timer.api.dto.email.SendMessageDto;
...
@@ -15,6 +15,7 @@ import cn.timer.api.dto.email.SendMessageDto;
import
cn.timer.api.dto.template.InterviewNotice
;
import
cn.timer.api.dto.template.InterviewNotice
;
import
cn.timer.api.dto.zpgl.ImportCandidateDto
;
import
cn.timer.api.dto.zpgl.ImportCandidateDto
;
import
cn.timer.api.dto.zpgl.ZpglRcxxDto
;
import
cn.timer.api.dto.zpgl.ZpglRcxxDto
;
import
cn.timer.api.service.OSSService
;
import
cn.timer.api.utils.Result
;
import
cn.timer.api.utils.Result
;
import
cn.timer.api.utils.ResultUtil
;
import
cn.timer.api.utils.ResultUtil
;
import
cn.timer.api.utils.ZpglMessageTemplate
;
import
cn.timer.api.utils.ZpglMessageTemplate
;
...
@@ -63,6 +64,9 @@ public class ZpglServiceImpl implements ZpglService {
...
@@ -63,6 +64,9 @@ public class ZpglServiceImpl implements ZpglService {
@Autowired
@Autowired
private
ZpglWxgzptServiceImpl
zpglWxgzptService
;
private
ZpglWxgzptServiceImpl
zpglWxgzptService
;
@Autowired
private
OSSService
ossService
;
@Override
@Override
public
boolean
updateZpglRcxx
(
UserBean
userBean
,
ZpglRcxxDto
zpglRcxxDto
)
{
public
boolean
updateZpglRcxx
(
UserBean
userBean
,
ZpglRcxxDto
zpglRcxxDto
)
{
...
@@ -278,6 +282,11 @@ public class ZpglServiceImpl implements ZpglService {
...
@@ -278,6 +282,11 @@ public class ZpglServiceImpl implements ZpglService {
if
(
StringUtils
.
isEmpty
(
resumeExtract
)
||
StringUtils
.
isEmpty
(
resumeExtract
.
getBasic_infos
()))
{
if
(
StringUtils
.
isEmpty
(
resumeExtract
)
||
StringUtils
.
isEmpty
(
resumeExtract
.
getBasic_infos
()))
{
return
ResultUtil
.
error
(
"导入简历失败,请检查是否为简历文件~"
);
return
ResultUtil
.
error
(
"导入简历失败,请检查是否为简历文件~"
);
}
}
Result
<
String
>
data
=
ossService
.
upload
(
userBean
.
getOrgCode
(),
"zpgl"
,
file
);
if
(!
StringUtils
.
isEmpty
(
data
)
&&
!
StringUtils
.
isEmpty
(
data
.
getData
())){
importCandidateDto
.
setFilePath
(
data
.
getData
());
importCandidateDto
.
setFileName
(
file
.
getOriginalFilename
());
}
return
this
.
addZpglRcxx
(
userBean
,
resumeExtract
,
importCandidateDto
);
return
this
.
addZpglRcxx
(
userBean
,
resumeExtract
,
importCandidateDto
);
}
}
...
@@ -307,6 +316,8 @@ public class ZpglServiceImpl implements ZpglService {
...
@@ -307,6 +316,8 @@ public class ZpglServiceImpl implements ZpglService {
zpglRcxx
.
setStatus
(
importCandidateDto
.
getStatus
());
zpglRcxx
.
setStatus
(
importCandidateDto
.
getStatus
());
zpglRcxx
.
setZpglZpqdId
(
importCandidateDto
.
getZpglZpqdId
());
zpglRcxx
.
setZpglZpqdId
(
importCandidateDto
.
getZpglZpqdId
());
zpglRcxx
.
setOrgCode
(
userBean
.
getOrgCode
().
toString
());
zpglRcxx
.
setOrgCode
(
userBean
.
getOrgCode
().
toString
());
zpglRcxx
.
setFileName
(
importCandidateDto
.
getFileName
());
zpglRcxx
.
setFilePath
(
importCandidateDto
.
getFilePath
());
Integer
highesteducation
=
null
;
Integer
highesteducation
=
null
;
// 添加人才信息
// 添加人才信息
if
(!
StringUtils
.
isEmpty
(
resumeExtract
.
getBasic_infos
()))
{
if
(!
StringUtils
.
isEmpty
(
resumeExtract
.
getBasic_infos
()))
{
...
...
src/main/java/cn/timer/api/dto/zpgl/ImportCandidateDto.java
View file @
70e2ee9d
...
@@ -49,6 +49,18 @@ public class ImportCandidateDto implements Serializable{
...
@@ -49,6 +49,18 @@ public class ImportCandidateDto implements Serializable{
*/
*/
@ApiModelProperty
(
value
=
"文档类型,目前支持pdf,doc,docx,wps,txt,jpg,jpeg,png,bmp,tif格式"
)
@ApiModelProperty
(
value
=
"文档类型,目前支持pdf,doc,docx,wps,txt,jpg,jpeg,png,bmp,tif格式"
)
private
String
suffix
;
private
String
suffix
;
/**
* 文件名
*/
@ApiModelProperty
(
value
=
"文件名"
)
private
String
fileName
;
/**
* 文件路径
*/
@ApiModelProperty
(
value
=
"文件路径"
)
private
String
filePath
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment