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
0e213661
Commit
0e213661
authored
Apr 01, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加项目信息表
parent
96b9e70e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
35 additions
and
19 deletions
+35
-19
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxExperience.java
+2
-2
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxProject.java
+1
-1
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxStudy.java
+2
-2
src/main/java/cn/timer/api/bean/zpgl/ZpglWxgzptEmpRcxx.java
+5
-0
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
+3
-2
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglService.java
+2
-1
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
+0
-0
src/main/java/cn/timer/api/dto/baidu/BasicInfo.java
+2
-1
src/main/java/cn/timer/api/dto/baidu/WorkInfo.java
+12
-6
src/main/resources/mapping/zpgl/ZpglRcxxProjectMapper.xml
+5
-4
src/main/resources/mapping/zpgl/ZpglWxgzptEmpRcxxMapper.xml
+1
-0
No files found.
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxExperience.java
View file @
0e213661
...
@@ -66,9 +66,9 @@ public class ZpglRcxxExperience extends Model<ZpglRcxxExperience> {
...
@@ -66,9 +66,9 @@ public class ZpglRcxxExperience extends Model<ZpglRcxxExperience> {
@ApiModelProperty
(
value
=
"职位名称"
)
@ApiModelProperty
(
value
=
"职位名称"
)
private
String
jobName
;
private
String
jobName
;
/**
/**
*
单位名称
*
所在部门
*/
*/
@ApiModelProperty
(
value
=
"
单位名称
"
)
@ApiModelProperty
(
value
=
"
所在部门
"
)
private
String
department
;
private
String
department
;
/**
/**
* 薪水(单位元/月)
* 薪水(单位元/月)
...
...
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxProject.java
View file @
0e213661
...
@@ -68,7 +68,7 @@ public class ZpglRcxxProject extends Model<ZpglRcxxProject> {
...
@@ -68,7 +68,7 @@ public class ZpglRcxxProject extends Model<ZpglRcxxProject> {
* 工作描述:项目详情介绍
* 工作描述:项目详情介绍
*/
*/
@ApiModelProperty
(
value
=
"工作描述:项目详情介绍"
)
@ApiModelProperty
(
value
=
"工作描述:项目详情介绍"
)
private
String
d
escribe
;
private
String
projectD
escribe
;
/**
/**
* 个人在该项目负责的具体工作详情
* 个人在该项目负责的具体工作详情
*/
*/
...
...
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxStudy.java
View file @
0e213661
...
@@ -61,9 +61,9 @@ public class ZpglRcxxStudy extends Model<ZpglRcxxStudy> {
...
@@ -61,9 +61,9 @@ public class ZpglRcxxStudy extends Model<ZpglRcxxStudy> {
@ApiModelProperty
(
value
=
"学校名称"
)
@ApiModelProperty
(
value
=
"学校名称"
)
private
String
schoolName
;
private
String
schoolName
;
/**
/**
* 学历
0:未知 1:小学以下 2:小学 3:初中 4:高中 5:中专 6:大专 7:本科 8:硕士 9:博士
* 学历
1:小学;2:初中;3:高中;4:中专;5:大专;6:本科;7:研究生;8:硕士;9:博士
*/
*/
@ApiModelProperty
(
value
=
"学历
0:未知 1:小学以下 2:小学 3:初中 4:高中 5:中专 6:大专 7:本科 8:硕士 9:博士
"
)
@ApiModelProperty
(
value
=
"学历
1:小学;2:初中;3:高中;4:中专;5:大专;6:本科;7:研究生;8:硕士;9:博士
"
)
private
Integer
education
;
private
Integer
education
;
/**
/**
* 专业名称
* 专业名称
...
...
src/main/java/cn/timer/api/bean/zpgl/ZpglWxgzptEmpRcxx.java
View file @
0e213661
...
@@ -49,6 +49,11 @@ public class ZpglWxgzptEmpRcxx extends Model<ZpglWxgzptEmpRcxx> {
...
@@ -49,6 +49,11 @@ public class ZpglWxgzptEmpRcxx extends Model<ZpglWxgzptEmpRcxx> {
@ApiModelProperty
(
value
=
"员工档案表ID"
)
@ApiModelProperty
(
value
=
"员工档案表ID"
)
private
Integer
ygglMainEmpId
;
private
Integer
ygglMainEmpId
;
/**
/**
* 手机号
*/
@ApiModelProperty
(
value
=
"手机号"
)
private
String
mobile
;
/**
* 微信openid
* 微信openid
*/
*/
@ApiModelProperty
(
value
=
"微信openid"
)
@ApiModelProperty
(
value
=
"微信openid"
)
...
...
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
View file @
0e213661
...
@@ -7,6 +7,7 @@ import cn.timer.api.bean.qyzx.QyzxEmpEntAsso;
...
@@ -7,6 +7,7 @@ import cn.timer.api.bean.qyzx.QyzxEmpEntAsso;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.bean.zpgl.ZpglRcxx
;
import
cn.timer.api.bean.zpgl.ZpglRcxx
;
import
cn.timer.api.bean.zpgl.ZpglRcxxProject
;
import
cn.timer.api.bean.zpgl.ZpglZwxx
;
import
cn.timer.api.bean.zpgl.ZpglZwxx
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.UserBean
;
import
cn.timer.api.config.annotation.UserBean
;
...
@@ -23,6 +24,7 @@ import cn.timer.api.dao.qyzx.QyzxEmpLoginMapper;
...
@@ -23,6 +24,7 @@ import cn.timer.api.dao.qyzx.QyzxEmpLoginMapper;
import
cn.timer.api.dao.yggl.YgglMainEmpMapper
;
import
cn.timer.api.dao.yggl.YgglMainEmpMapper
;
import
cn.timer.api.dao.zpgl.ZpglRcxxMapper
;
import
cn.timer.api.dao.zpgl.ZpglRcxxMapper
;
import
cn.timer.api.dto.baidu.BaiduTicResumeDto
;
import
cn.timer.api.dto.baidu.BaiduTicResumeDto
;
import
cn.timer.api.dto.baidu.ProjectInfo
;
import
cn.timer.api.dto.baidu.ResumeExtract
;
import
cn.timer.api.dto.baidu.ResumeExtract
;
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
;
...
@@ -452,8 +454,7 @@ public class ZpglController {
...
@@ -452,8 +454,7 @@ public class ZpglController {
return
ResultUtil
.
error
(
"导入简历失败,目前支持pdf,doc,docx,wps,txt,jpg,jpeg,png,bmp,tif格式~"
);
return
ResultUtil
.
error
(
"导入简历失败,目前支持pdf,doc,docx,wps,txt,jpg,jpeg,png,bmp,tif格式~"
);
}
}
importCandidateDto
.
setSuffix
(
suffix
);
importCandidateDto
.
setSuffix
(
suffix
);
boolean
flag
=
zpglService
.
addResumeImportCandidate
(
userBean
,
file
,
importCandidateDto
);
return
zpglService
.
addResumeImportCandidate
(
userBean
,
file
,
importCandidateDto
);
return
flag
?
ResultUtil
.
success
(
"操作成功"
):
ResultUtil
.
error
(
"操作失败"
);
}
catch
(
CustomException
e
)
{
}
catch
(
CustomException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
throw
e
;
throw
e
;
...
...
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglService.java
View file @
0e213661
...
@@ -5,6 +5,7 @@ import cn.timer.api.bean.clazz.SysRegion;
...
@@ -5,6 +5,7 @@ import cn.timer.api.bean.clazz.SysRegion;
import
cn.timer.api.config.annotation.UserBean
;
import
cn.timer.api.config.annotation.UserBean
;
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.utils.Result
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
/**
/**
...
@@ -33,7 +34,7 @@ public interface ZpglService {
...
@@ -33,7 +34,7 @@ public interface ZpglService {
* @param file
* @param file
* @return
* @return
*/
*/
boolean
addResumeImportCandidate
(
UserBean
userBean
,
MultipartFile
file
,
ImportCandidateDto
importCandidateDto
);
Result
<
Object
>
addResumeImportCandidate
(
UserBean
userBean
,
MultipartFile
file
,
ImportCandidateDto
importCandidateDto
);
}
}
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
View file @
0e213661
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/baidu/BasicInfo.java
View file @
0e213661
...
@@ -55,7 +55,8 @@ public class BasicInfo implements Serializable {
...
@@ -55,7 +55,8 @@ public class BasicInfo implements Serializable {
private
String
marriage
;
// 婚姻状况:未婚/已婚,输出为原文
private
String
marriage
;
// 婚姻状况:未婚/已婚,输出为原文
private
String
birth_place
;
// 籍贯:籍贯地区,如 广东汕头,上海,江苏南通。以简历描述为准,输出为原文
private
String
birth_place
;
// 籍贯:籍贯地区,如 广东汕头,上海,江苏南通。以简历描述为准,输出为原文
private
String
desire_loc
;
// 期望工作地区:期望工作城市或区域,多个地区则以英文逗号分隔,如 北京,上海,广州,深圳,输出为原文
private
String
desire_loc
;
// 期望工作地区:期望工作城市或区域,多个地区则以英文逗号分隔,如 北京,上海,广州,深圳,输出为原文
private
String
phone_numbers
;
// 联系方式:国内11位手机号,格式化为纯数字
// 联系方式:国内11位手机号,格式化为纯数字
private
String
phone_numbers
;
// 邮箱:合格邮箱地址
// 邮箱:合格邮箱地址
private
String
email_address
;
private
String
email_address
;
private
String
landline
;
// 固定电话:国内8位座机号
private
String
landline
;
// 固定电话:国内8位座机号
...
...
src/main/java/cn/timer/api/dto/baidu/WorkInfo.java
View file @
0e213661
...
@@ -19,13 +19,19 @@ import java.io.Serializable;
...
@@ -19,13 +19,19 @@ import java.io.Serializable;
@NoArgsConstructor
@NoArgsConstructor
@AllArgsConstructor
@AllArgsConstructor
public
class
WorkInfo
implements
Serializable
{
public
class
WorkInfo
implements
Serializable
{
private
String
company
;
// 公司名称
// 公司名称
private
String
department
;
// 部门名称/所在部门
private
String
company
;
// 部门名称/所在部门
private
String
department
;
private
String
location
;
// 工作城市/工作地点
private
String
location
;
// 工作城市/工作地点
private
String
job
;
// 职位名称
// 职位名称
private
String
job
;
//private String package; // 该岗位工资水平,如,3000-5000元/月,输出为原文
//private String package; // 该岗位工资水平,如,3000-5000元/月,输出为原文
private
String
start_time
;
// 开始年份-月份,若只有年则只输出年。如2019-10或2019
// 开始年份-月份,若只有年则只输出年。如2019-10或2019
private
String
end_time
;
// 结束年份-月份,若只有年则只输出年。如2019-10或2019
private
String
start_time
;
// 结束年份-月份,若只有年则只输出年。如2019-10或2019
private
String
end_time
;
private
String
is_in
;
// 是否仍在:1表示在,0表示不在
private
String
is_in
;
// 是否仍在:1表示在,0表示不在
private
String
describe
;
// 工作内容
// 工作内容
private
String
describe
;
}
}
src/main/resources/mapping/zpgl/ZpglRcxxProjectMapper.xml
View file @
0e213661
...
@@ -7,15 +7,15 @@
...
@@ -7,15 +7,15 @@
<resultMap
type=
"cn.timer.api.bean.zpgl.ZpglRcxxProject"
id=
"zpglRcxxProjectMap"
>
<resultMap
type=
"cn.timer.api.bean.zpgl.ZpglRcxxProject"
id=
"zpglRcxxProjectMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"id"
column=
"id"
/>
<result
property=
"zpglRcxxId"
column=
"zpgl_rcxx_id"
/>
<result
property=
"zpglRcxxId"
column=
"zpgl_rcxx_id"
/>
<result
property=
"startTime"
column=
"start_time"
/>
<result
property=
"endTime"
column=
"end_time"
/>
<result
property=
"projectName"
column=
"project_name"
/>
<result
property=
"projectName"
column=
"project_name"
/>
<result
property=
"job"
column=
"job"
/>
<result
property=
"job"
column=
"job"
/>
<result
property=
"
describe"
column=
"
describe"
/>
<result
property=
"
projectDescribe"
column=
"project_
describe"
/>
<result
property=
"duty"
column=
"duty"
/>
<result
property=
"duty"
column=
"duty"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"location"
column=
"location"
/>
<result
property=
"location"
column=
"location"
/>
<result
property=
"startTime"
column=
"start_time"
/>
<result
property=
"endTime"
column=
"end_time"
/>
<result
property=
"deleteFlag"
column=
"delete_flag"
/>
<result
property=
"deleteFlag"
column=
"delete_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
</resultMap>
</mapper>
</mapper>
\ No newline at end of file
src/main/resources/mapping/zpgl/ZpglWxgzptEmpRcxxMapper.xml
View file @
0e213661
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<result
property=
"id"
column=
"id"
/>
<result
property=
"id"
column=
"id"
/>
<result
property=
"zpglRcxxId"
column=
"zpgl_rcxx_id"
/>
<result
property=
"zpglRcxxId"
column=
"zpgl_rcxx_id"
/>
<result
property=
"ygglMainEmpId"
column=
"yggl_main_emp_id"
/>
<result
property=
"ygglMainEmpId"
column=
"yggl_main_emp_id"
/>
<result
property=
"mobile"
column=
"mobile"
/>
<result
property=
"openid"
column=
"openid"
/>
<result
property=
"openid"
column=
"openid"
/>
<result
property=
"unionid"
column=
"unionid"
/>
<result
property=
"unionid"
column=
"unionid"
/>
<result
property=
"orgCode"
column=
"org_code"
/>
<result
property=
"orgCode"
column=
"org_code"
/>
...
...
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