Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
ca848ad4
Commit
ca848ad4
authored
Jul 02, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.6-预入职相关_校验
parent
ad4f670f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+21
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
ca848ad4
...
...
@@ -445,11 +445,32 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
// 预入职-人员档案表
if
(
vo
.
getTpreEmployeeInfo
()
==
null
)
{
TPreEmployeeInfo
tPreEmployeeInfo
=
tPreEmployeeInfoService
.
getTPreEmployeeInfoList
(
id
);
if
(
tPreEmployeeInfo
==
null
)
{
tPreEmployeeInfo
=
new
TPreEmployeeInfo
();
tPreEmployeeInfo
.
setEmpIdcard
(
main
.
getEmpIdcard
());
tPreEmployeeInfo
.
setPreMainId
(
main
.
getId
());
tPreEmployeeInfo
.
setCreateBy
(
user
.
getId
());
tPreEmployeeInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmployeeInfo
.
setCreateTime
(
LocalDateTime
.
now
());
tPreEmployeeInfoService
.
save
(
tPreEmployeeInfo
);
}
vo
.
setTpreEmployeeInfo
(
tPreEmployeeInfo
);
}
// 预入职-项目档案表
if
(
vo
.
getTpreEmployeeProject
()
==
null
)
{
TPreEmployeeProject
tPreEmployeeProject
=
tPreEmployeeProjectService
.
getTPreEmployeeProjectList
(
id
);
if
(
tPreEmployeeProject
==
null
)
{
tPreEmployeeProject
=
new
TPreEmployeeProject
();
tPreEmployeeProject
.
setEmpIdcard
(
main
.
getEmpIdcard
());
tPreEmployeeProject
.
setDeptId
(
main
.
getDeptId
());
tPreEmployeeProject
.
setDeptName
(
main
.
getDeptName
());
tPreEmployeeProject
.
setDeptNo
(
main
.
getDeptNo
());
tPreEmployeeProject
.
setPreMainId
(
main
.
getId
());
tPreEmployeeProject
.
setCreateBy
(
user
.
getId
());
tPreEmployeeProject
.
setCreateName
(
user
.
getNickname
());
tPreEmployeeProject
.
setCreateTime
(
LocalDateTime
.
now
());
tPreEmployeeProjectService
.
save
(
tPreEmployeeProject
);
}
vo
.
setTpreEmployeeProject
(
tPreEmployeeProject
);
}
// 预入职-员工职业资格信息表
...
...
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