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
b84235e5
Commit
b84235e5
authored
Apr 12, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
招聘管理-标准简历代码
parent
c609f1ee
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
74 additions
and
47 deletions
+74
-47
src/main/java/cn/timer/api/bean/zpgl/ZpglCptk.java
+5
-0
src/main/java/cn/timer/api/bean/zpgl/ZpglDtk.java
+3
-8
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxProject.java
+7
-0
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
+55
-4
src/main/java/cn/timer/api/controller/zpgl/ZpglZwxxController.java
+1
-33
src/main/java/cn/timer/api/dto/baidu/BasicInfo.java
+1
-0
src/main/resources/mapping/zpgl/ZpglCptkMapper.xml
+1
-0
src/main/resources/mapping/zpgl/ZpglDtkMapper.xml
+1
-2
No files found.
src/main/java/cn/timer/api/bean/zpgl/ZpglCptk.java
View file @
b84235e5
...
...
@@ -67,6 +67,11 @@ public class ZpglCptk extends Model<ZpglCptk> {
@ApiModelProperty
(
value
=
"选项"
)
private
String
answerD
;
/**
* 排序:从小到大
*/
@ApiModelProperty
(
value
=
"排序:从小到大"
)
private
Integer
sort
;
/**
* 用户ID
*/
@ApiModelProperty
(
value
=
"用户ID"
)
...
...
src/main/java/cn/timer/api/bean/zpgl/ZpglDtk.java
View file @
b84235e5
...
...
@@ -66,15 +66,10 @@ public class ZpglDtk extends Model<ZpglDtk> {
@ApiModelProperty
(
value
=
"总分值"
)
private
Integer
count
;
/**
*
用户
ID
*
对应人才信息表
ID
*/
@ApiModelProperty
(
value
=
"用户ID"
)
private
Integer
userId
;
/**
* 用户姓名
*/
@ApiModelProperty
(
value
=
"用户姓名"
)
private
String
userName
;
@ApiModelProperty
(
value
=
"对应人才信息表ID"
)
private
Integer
zpglRcxxId
;
/**
* 创建时间
*/
...
...
src/main/java/cn/timer/api/bean/zpgl/ZpglRcxxProject.java
View file @
b84235e5
package
cn
.
timer
.
api
.
bean
.
zpgl
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
...
...
@@ -47,11 +50,15 @@ public class ZpglRcxxProject extends Model<ZpglRcxxProject> {
/**
* 开始时间
*/
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JSONField
(
format
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"开始时间"
)
private
Date
startTime
;
/**
* 结束时间
*/
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@ApiModelProperty
(
value
=
"结束时间"
)
private
Date
endTime
;
/**
...
...
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
View file @
b84235e5
...
...
@@ -6,9 +6,7 @@ import cn.timer.api.bean.kqmk.*;
import
cn.timer.api.bean.qyzx.QyzxEmpEntAsso
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
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.*
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.UserBean
;
import
cn.timer.api.config.enuminterface.JxglEnumInterface
;
...
...
@@ -134,7 +132,7 @@ public class ZpglController {
zpglRcxxPage
.
getPages
();
zpglRcxxPage
.
getTotal
();
zpglRcxxPage
.
getSize
();
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
2
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
9
);
map
.
put
(
"zpglRcxxs"
,
zpglRcxxs
);
map
.
put
(
"FILTERING"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
FILTERING
.
getType
(),
userBean
.
getOrgCode
()));
map
.
put
(
"FILTER_PASS"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
FILTER_PASS
.
getType
(),
userBean
.
getOrgCode
()));
...
...
@@ -484,6 +482,59 @@ public class ZpglController {
}
/**
* 招聘-标准简历信息
*
* @param
* @return
*/
@GetMapping
(
value
=
"/standard/recruit"
)
@ApiOperation
(
value
=
"9.招聘-标准简历信息"
,
httpMethod
=
"GET"
,
notes
=
"招聘-标准简历信息"
)
@ApiOperationSupport
(
order
=
9
)
public
Result
<
Object
>
standardRecruit
(
@CurrentUser
UserBean
userBean
,
@ApiParam
(
"人才信息ID"
)
@RequestParam
(
required
=
false
)
Integer
zpglRcxxId
)
{
try
{
ZpglRcxx
zpglRcxx
=
ZpglRcxx
.
builder
().
id
(
zpglRcxxId
).
build
().
selectById
();
// 工作经验
List
<
ZpglRcxxExperience
>
zpglRcxxExperiences
=
ZpglRcxxExperience
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
ZpglRcxxExperience
>().
lambda
().
eq
(
ZpglRcxxExperience:
:
getZpglRcxxId
,
zpglRcxxId
)
.
eq
(
ZpglRcxxExperience:
:
getIsDelete
,
0
).
orderByDesc
(
ZpglRcxxExperience:
:
getEndTime
)
);
// 教育经历
List
<
ZpglRcxxStudy
>
zpglRcxxStudys
=
ZpglRcxxStudy
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
ZpglRcxxStudy
>().
lambda
().
eq
(
ZpglRcxxStudy:
:
getZpglRcxxId
,
zpglRcxxId
)
.
eq
(
ZpglRcxxStudy:
:
getIsDelete
,
0
).
orderByDesc
(
ZpglRcxxStudy:
:
getEndTime
)
);
// 项目经历
List
<
ZpglRcxxProject
>
zpglRcxxProjects
=
ZpglRcxxProject
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
ZpglRcxxProject
>().
lambda
().
eq
(
ZpglRcxxProject:
:
getZpglRcxxId
,
zpglRcxxId
)
.
eq
(
ZpglRcxxProject:
:
getDeleteFlag
,
0
).
orderByDesc
(
ZpglRcxxProject:
:
getEndTime
)
);
// 培训经验
List
<
ZpglRcxxTrain
>
zpglRcxxTrains
=
ZpglRcxxTrain
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
ZpglRcxxTrain
>().
lambda
().
eq
(
ZpglRcxxTrain:
:
getZpglRcxxId
,
zpglRcxxId
)
.
eq
(
ZpglRcxxTrain:
:
getIsDelete
,
0
).
orderByDesc
(
ZpglRcxxTrain:
:
getEndTime
)
);
// FPA性格测评数据
ZpglDtk
zpglDtk
=
ZpglDtk
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
ZpglDtk
>().
lambda
().
eq
(
ZpglDtk:
:
getZpglRcxxId
,
zpglRcxxId
));
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
4
);
map
.
put
(
"zpglRcxx"
,
zpglRcxx
);
map
.
put
(
"zpglRcxxExperiences"
,
zpglRcxxExperiences
);
map
.
put
(
"zpglRcxxStudys"
,
zpglRcxxStudys
);
map
.
put
(
"zpglRcxxProjects"
,
zpglRcxxProjects
);
map
.
put
(
"zpglRcxxTrains"
,
zpglRcxxTrains
);
map
.
put
(
"zpglDtk"
,
zpglDtk
);
return
ResultUtil
.
data
(
map
,
"搜索成功"
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
throw
new
CustomException
(
"获取招聘-标准简历信息失败"
);
}
}
/**
* 获取统计数据
* @param queryWrapper
* @param status
...
...
src/main/java/cn/timer/api/controller/zpgl/ZpglZwxxController.java
View file @
b84235e5
package
cn
.
timer
.
api
.
controller
.
zpgl
;
import
cn.hutool.core.util.StrUtil
;
import
cn.timer.api.bean.clazz.SysRegion
;
import
cn.timer.api.bean.kqgl.UserEquiRelation
;
import
cn.timer.api.bean.kqmk.*
;
import
cn.timer.api.bean.qyzx.QyzxEmpEntAsso
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.bean.zpgl.ZpglRcxx
;
import
cn.timer.api.bean.zpgl.ZpglZwxx
;
import
cn.timer.api.bean.zpgl.*
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.UserBean
;
import
cn.timer.api.config.enuminterface.JxglEnumInterface
;
import
cn.timer.api.config.enuminterface.YgEnumInterface.jobStatus
;
import
cn.timer.api.config.enums.CommonEnum
;
import
cn.timer.api.config.enums.SysRoleType
;
import
cn.timer.api.config.exception.CustomException
;
import
cn.timer.api.controller.kqgl.ClockInTool
;
import
cn.timer.api.controller.kqgl.atttimer.RealTimeUpdate
;
import
cn.timer.api.controller.zpgl.sevice.ZpglService
;
import
cn.timer.api.dao.kqgl.UserEquiRelationMapper
;
...
...
@@ -24,20 +11,15 @@ import cn.timer.api.dao.kqmk.KqglAssoKqzdkfsMapper;
import
cn.timer.api.dao.qyzx.QyzxEmpLoginMapper
;
import
cn.timer.api.dao.yggl.YgglMainEmpMapper
;
import
cn.timer.api.dao.zpgl.ZpglRcxxMapper
;
import
cn.timer.api.dto.zpgl.ZpglRcxxDto
;
import
cn.timer.api.dto.zpgl.ZpglRcxxEntryDto
;
import
cn.timer.api.dto.zpgl.ZpglZwxxAddUpdateDto
;
import
cn.timer.api.dto.zpgl.ZpglZwxxDto
;
import
cn.timer.api.utils.Md5
;
import
cn.timer.api.utils.Result
;
import
cn.timer.api.utils.ResultUtil
;
import
cn.timer.api.utils.query.BaseQuery
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.github.xiaoymin.knife4j.annotations.ApiOperationSupport
;
import
com.github.yulichang.query.MPJQueryWrapper
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
...
...
@@ -45,24 +27,11 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.http.HttpEntity
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.transaction.interceptor.TransactionAspectSupport
;
import
org.springframework.util.LinkedMultiValueMap
;
import
org.springframework.util.MultiValueMap
;
import
org.springframework.util.StringUtils
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.client.RestTemplate
;
import
javax.transaction.Transactional
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* 招聘管理-招聘职位
...
...
@@ -197,5 +166,4 @@ public class ZpglZwxxController {
}
}
}
src/main/java/cn/timer/api/dto/baidu/BasicInfo.java
View file @
b84235e5
...
...
@@ -63,5 +63,6 @@ public class BasicInfo implements Serializable {
private
String
qq
;
// QQ号:QQ号码
// 微信号:微信账号
private
String
wechat
;
private
String
skill_text
;
}
src/main/resources/mapping/zpgl/ZpglCptkMapper.xml
View file @
b84235e5
...
...
@@ -11,6 +11,7 @@
<result
property=
"answerB"
column=
"answer_b"
/>
<result
property=
"answerC"
column=
"answer_c"
/>
<result
property=
"answerD"
column=
"answer_d"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userName"
column=
"user_name"
/>
<result
property=
"createTime"
column=
"create_time"
/>
...
...
src/main/resources/mapping/zpgl/ZpglDtkMapper.xml
View file @
b84235e5
...
...
@@ -11,8 +11,7 @@
<result
property=
"yellow"
column=
"yellow"
/>
<result
property=
"green"
column=
"green"
/>
<result
property=
"count"
column=
"count"
/>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userName"
column=
"user_name"
/>
<result
property=
"zpglRcxxId"
column=
"zpgl_rcxx_id"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
...
...
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