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
1216f831
Commit
1216f831
authored
May 06, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改bug 新增人才信息 初始化流程记录
parent
1122c5ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/main/java/cn/timer/api/controller/zpgl/ZpglH5Controller.java
+7
-1
No files found.
src/main/java/cn/timer/api/controller/zpgl/ZpglH5Controller.java
View file @
1216f831
...
...
@@ -44,17 +44,23 @@ public class ZpglH5Controller {
@ApiOperation
(
value
=
"添加面试申请"
,
httpMethod
=
"POST"
,
notes
=
"添加面试申请"
)
@Log
(
title
=
"addInterviewApplication"
,
businessType
=
BusinessType
.
INSERT_UPDATE
)
public
Result
<
Object
>
addInterviewApplication
(
@Validated
@RequestBody
InterviewApplicationDto
dto
)
{
System
.
out
.
println
(
dto
);
ZpglRcxx
zpglRcxx
=
new
ZpglRcxx
();
//复制到 ZpglRcxx 实体对象
BeanUtils
.
copyProperties
(
dto
,
zpglRcxx
);
/**
* 新增需要添加
* 是否初始化面试流程记录
*/
boolean
insertZpglMslcLogFlag
=
StringUtils
.
isEmpty
(
zpglRcxx
.
getId
());
// 计算工作年限
if
(!
StringUtils
.
isEmpty
(
zpglRcxx
.
getWorkBeginYear
())){
zpglRcxx
.
setWorkyears
(
DateFormatUtils
.
yearCompare
(
zpglRcxx
.
getWorkBeginYear
(),
new
Date
()));
}
zpglRcxx
.
insertOrUpdate
();
if
(
StringUtils
.
isEmpty
(
zpglRcxx
.
getId
())
){
if
(
insertZpglMslcLogFlag
){
// 新增人才信息 初始化流程记录
ZpglMslcLog
zpglMslcLog
=
new
ZpglMslcLog
();
zpglMslcLog
.
setZpglRcxxId
(
zpglRcxx
.
getId
());
...
...
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