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
c3ec673e
Commit
c3ec673e
authored
Apr 26, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1。招聘管理-修改BUG 手动添加人才信息出生日期
2.入职维护
parent
d794e072
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
9 deletions
+59
-9
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
+10
-7
src/main/java/cn/timer/api/controller/zpgl/ZpglH5Controller.java
+2
-1
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglService.java
+11
-1
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
+31
-0
src/main/java/cn/timer/api/dto/zpgl/InterviewApplicationDto.java
+5
-0
No files found.
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
View file @
c3ec673e
...
@@ -136,7 +136,7 @@ public class ZpglController {
...
@@ -136,7 +136,7 @@ public class ZpglController {
if
(!
StringUtils
.
isEmpty
(
query
))
{
if
(!
StringUtils
.
isEmpty
(
query
))
{
queryWrapper
.
lambda
().
and
(
qw
->
qw
.
like
(
ZpglRcxx:
:
getName
,
query
).
or
().
eq
(
ZpglRcxx:
:
getMobile
,
query
).
or
().
eq
(
ZpglRcxx:
:
getMail
,
query
));
queryWrapper
.
lambda
().
and
(
qw
->
qw
.
like
(
ZpglRcxx:
:
getName
,
query
).
or
().
eq
(
ZpglRcxx:
:
getMobile
,
query
).
or
().
eq
(
ZpglRcxx:
:
getMail
,
query
));
}
}
queryWrapper
.
lambda
().
eq
(
ZpglRcxx:
:
getStatus
,
status
).
orderByDesc
(
ZpglRcxx:
:
get
Cre
ateTime
);
queryWrapper
.
lambda
().
eq
(
ZpglRcxx:
:
getStatus
,
status
).
orderByDesc
(
ZpglRcxx:
:
get
Upd
ateTime
);
IPage
<
ZpglRcxx
>
zpglRcxxPage
=
ZpglRcxx
.
builder
().
build
().
selectPage
(
page
,
queryWrapper
);
IPage
<
ZpglRcxx
>
zpglRcxxPage
=
ZpglRcxx
.
builder
().
build
().
selectPage
(
page
,
queryWrapper
);
List
<
ZpglRcxx
>
zpglRcxxs
=
page
.
getRecords
();
List
<
ZpglRcxx
>
zpglRcxxs
=
page
.
getRecords
();
zpglRcxxPage
.
getCurrent
();
zpglRcxxPage
.
getCurrent
();
...
@@ -322,10 +322,13 @@ public class ZpglController {
...
@@ -322,10 +322,13 @@ public class ZpglController {
KqglAssoLeaveEmployeeBalance
.
builder
().
leaveRulesId
(
r
.
getId
()).
userid
(
ygglMainEmp
.
getEmpNum
()).
balanceDays
(
0.0
).
modifyUserid
(
userBean
.
getEmpNum
()).
modifyTimer
(
current_time
).
orgCode
(
userBean
.
getOrgCode
()).
build
().
insert
();
KqglAssoLeaveEmployeeBalance
.
builder
().
leaveRulesId
(
r
.
getId
()).
userid
(
ygglMainEmp
.
getEmpNum
()).
balanceDays
(
0.0
).
modifyUserid
(
userBean
.
getEmpNum
()).
modifyTimer
(
current_time
).
orgCode
(
userBean
.
getOrgCode
()).
build
().
insert
();
}
}
}
}
// 招聘-变更人才信息状态
/**
// 添加面试流程记录
* 职位信息已入职人数+1
zpglService
.
updateZpglRcxx
(
userBean
,
zpglRcxxDto
);
* 招聘-变更人才信息状态
// 维护微信公众平台表++++++++++++++++++++++++++++++++++++++++++++
* 添加面试流程记录
* 维护微信公众平台表
*/
zpglService
.
updateZpglOther
(
userBean
,
zpglRcxxDto
,
ygglMainEmp
.
getEmpNum
());
try
{
try
{
realtimeupdate
.
AttendanceTask
(
userBean
.
getOrgCode
(),
ygglMainEmp
.
getEmpNum
(),
2
,
null
);
realtimeupdate
.
AttendanceTask
(
userBean
.
getOrgCode
(),
ygglMainEmp
.
getEmpNum
(),
2
,
null
);
}
catch
(
ParseException
e
)
{
}
catch
(
ParseException
e
)
{
...
@@ -467,8 +470,8 @@ public class ZpglController {
...
@@ -467,8 +470,8 @@ 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
);
return
zpglService
.
addResumeImportCandidate
(
userBean
,
file
,
importCandidateDto
);
//
return zpglService.addResumeImportCandidate(userBean, file, importCandidateDto);
//
return zpglService.addCandidateByResumeSDK(userBean, file, importCandidateDto);
return
zpglService
.
addCandidateByResumeSDK
(
userBean
,
file
,
importCandidateDto
);
}
catch
(
CustomException
e
)
{
}
catch
(
CustomException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
throw
e
;
throw
e
;
...
...
src/main/java/cn/timer/api/controller/zpgl/ZpglH5Controller.java
View file @
c3ec673e
...
@@ -52,6 +52,8 @@ public class ZpglH5Controller {
...
@@ -52,6 +52,8 @@ public class ZpglH5Controller {
if
(!
StringUtils
.
isEmpty
(
zpglRcxx
.
getWorkBeginYear
())){
if
(!
StringUtils
.
isEmpty
(
zpglRcxx
.
getWorkBeginYear
())){
zpglRcxx
.
setWorkyears
(
DateFormatUtils
.
yearCompare
(
zpglRcxx
.
getWorkBeginYear
(),
new
Date
()));
zpglRcxx
.
setWorkyears
(
DateFormatUtils
.
yearCompare
(
zpglRcxx
.
getWorkBeginYear
(),
new
Date
()));
}
}
zpglRcxx
.
insertOrUpdate
();
if
(
StringUtils
.
isEmpty
(
zpglRcxx
.
getId
())){
if
(
StringUtils
.
isEmpty
(
zpglRcxx
.
getId
())){
// 新增人才信息 初始化流程记录
// 新增人才信息 初始化流程记录
ZpglMslcLog
zpglMslcLog
=
new
ZpglMslcLog
();
ZpglMslcLog
zpglMslcLog
=
new
ZpglMslcLog
();
...
@@ -62,7 +64,6 @@ public class ZpglH5Controller {
...
@@ -62,7 +64,6 @@ public class ZpglH5Controller {
zpglMslcLog
.
setDetail
(
ZpglMessageTemplate
.
SYS_ADD
);
zpglMslcLog
.
setDetail
(
ZpglMessageTemplate
.
SYS_ADD
);
zpglMslcLogService
.
addZpglMslcLog
(
zpglMslcLog
);
zpglMslcLogService
.
addZpglMslcLog
(
zpglMslcLog
);
}
}
zpglRcxx
.
insertOrUpdate
();
//添加紧急联系人
//添加紧急联系人
if
(
dto
.
getZpglRcxxLxxxb
()
!=
null
){
if
(
dto
.
getZpglRcxxLxxxb
()
!=
null
){
...
...
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglService.java
View file @
c3ec673e
...
@@ -52,5 +52,15 @@ public interface ZpglService {
...
@@ -52,5 +52,15 @@ public interface ZpglService {
*/
*/
boolean
updateZpglRcxxZwxx
(
UserBean
userBean
,
ZpglRcxxDto
zpglRcxxDto
);
boolean
updateZpglRcxxZwxx
(
UserBean
userBean
,
ZpglRcxxDto
zpglRcxxDto
);
/**
* 入职维护
* 职位信息已入职人数+1
* 招聘-变更人才信息状态
* 添加面试流程记录
* 维护微信公众平台表
* @param userBean
* @param zpglRcxxDto
* @return
*/
boolean
updateZpglOther
(
UserBean
userBean
,
ZpglRcxxDto
zpglRcxxDto
,
Integer
userId
);
}
}
src/main/java/cn/timer/api/controller/zpgl/sevice/ZpglServiceImpl.java
View file @
c3ec673e
...
@@ -339,6 +339,37 @@ public class ZpglServiceImpl implements ZpglService {
...
@@ -339,6 +339,37 @@ public class ZpglServiceImpl implements ZpglService {
return
zpglMslcLogService
.
addZpglMslcLog
(
zpglMslcLog
);
return
zpglMslcLogService
.
addZpglMslcLog
(
zpglMslcLog
);
}
}
@Override
public
boolean
updateZpglOther
(
UserBean
userBean
,
ZpglRcxxDto
zpglRcxxDto
,
Integer
userId
)
{
// 招聘-变更人才信息状态
// 添加面试流程记录
this
.
updateZpglRcxx
(
userBean
,
zpglRcxxDto
);
// 职位信息已入职人数+1
ZpglZwxx
zpglZwxx
=
ZpglZwxx
.
builder
().
id
(
zpglRcxxDto
.
getZpglZwxxId
()).
build
().
selectById
();
if
(!
StringUtils
.
isEmpty
(
zpglZwxx
)){
zpglZwxx
.
setEntryNum
(
zpglZwxx
.
getEntryNum
()+
1
);
zpglZwxx
.
updateById
();
}
// 维护微信公众平台表
ZpglRcxx
zpglRcxx
=
ZpglRcxx
.
builder
().
id
(
zpglRcxxDto
.
getId
()).
build
().
selectById
();
if
(!
StringUtils
.
isEmpty
(
zpglRcxx
)
&&
!
StringUtils
.
isEmpty
(
zpglRcxx
.
getMobile
())){
ZpglWxgzptEmpRcxx
zpglWxgzptEmpRcxx
=
ZpglWxgzptEmpRcxx
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
ZpglWxgzptEmpRcxx
>().
select
(
"id"
,
"zpgl_rcxx_id"
).
lambda
().
eq
(
ZpglWxgzptEmpRcxx:
:
getMobile
,
zpglRcxx
.
getMobile
())
);
zpglWxgzptEmpRcxx
.
setOrgCode
(
userBean
.
getOrgCode
());
zpglWxgzptEmpRcxx
.
setZpglRcxxId
(
zpglRcxx
.
getId
());
zpglWxgzptEmpRcxx
.
setYgglMainEmpId
(
userId
);
if
(!
StringUtils
.
isEmpty
(
zpglWxgzptEmpRcxx
)
&&
(
StringUtils
.
isEmpty
(
zpglWxgzptEmpRcxx
.
getZpglRcxxId
())
||
zpglWxgzptEmpRcxx
.
getZpglRcxxId
()
<=
0
)){
zpglWxgzptEmpRcxx
.
updateById
();
}
if
(
StringUtils
.
isEmpty
(
zpglWxgzptEmpRcxx
)){
zpglWxgzptEmpRcxx
.
setMobile
(
zpglRcxx
.
getMobile
());
zpglWxgzptEmpRcxx
.
insert
();
}
}
return
true
;
}
/**
/**
* 导入简历
* 导入简历
* 同步人才信息 教育资讯 基本信息 其他信息 项目信息 工作信息
* 同步人才信息 教育资讯 基本信息 其他信息 项目信息 工作信息
...
...
src/main/java/cn/timer/api/dto/zpgl/InterviewApplicationDto.java
View file @
c3ec673e
...
@@ -71,6 +71,11 @@ public class InterviewApplicationDto implements Serializable {
...
@@ -71,6 +71,11 @@ public class InterviewApplicationDto implements Serializable {
@ApiModelProperty
(
value
=
"性别 1:男2:女"
)
@ApiModelProperty
(
value
=
"性别 1:男2:女"
)
private
Integer
sex
;
private
Integer
sex
;
/**
/**
* 出生日期
*/
@ApiModelProperty
(
value
=
"出生日期"
)
private
Date
datebirth
;
/**
* 微信
* 微信
*/
*/
@ApiModelProperty
(
value
=
"微信"
)
@ApiModelProperty
(
value
=
"微信"
)
...
...
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