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
100d2055
Commit
100d2055
authored
Nov 12, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.1 优化预入职
parent
02a036c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+8
-8
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
100d2055
...
...
@@ -411,7 +411,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpBadRecord
info
=
tEmpBadRecordService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpBadRecord
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
empFirst
)
{
tPreEmpBadRecord
.
setId
(
info
.
getId
());
}
tPreEmpBadRecord
.
setEmpId
(
empId
);
...
...
@@ -426,7 +426,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpBadRecord
.
setCreateBy
(
user
.
getId
());
tPreEmpBadRecord
.
setCreateName
(
user
.
getNickname
());
tPreEmpBadRecord
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpBadRecord
.
getId
())
)
{
tPreEmpBadRecordService
.
save
(
tPreEmpBadRecord
);
}
}
...
...
@@ -444,7 +444,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpContactInfo
info
=
tEmpContactInfoService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpContactInfo
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
tPreEmpContactInfo
.
setId
(
info
.
getId
());
}
tPreEmpContactInfo
.
setEmpId
(
empId
);
...
...
@@ -455,7 +455,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpContactInfo
.
setCreateBy
(
user
.
getId
());
tPreEmpContactInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmpContactInfo
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpContactInfo
.
getId
())
)
{
tPreEmpContactInfoService
.
save
(
tPreEmpContactInfo
);
}
}
...
...
@@ -473,7 +473,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpDisabilityInfo
info
=
tEmpDisabilityInfoService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpDisabilityInfo
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
tPreEmpDisabilityInfo
.
setId
(
info
.
getId
());
}
tPreEmpDisabilityInfo
.
setEmpId
(
empId
);
...
...
@@ -491,7 +491,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpDisabilityInfo
.
setCreateBy
(
user
.
getId
());
tPreEmpDisabilityInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmpDisabilityInfo
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpDisabilityInfo
.
getId
())
)
{
tPreEmpDisabilityInfoService
.
save
(
tPreEmpDisabilityInfo
);
}
}
...
...
@@ -509,7 +509,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpEducation
info
=
tEmpEducationService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpEducation
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
tPreEmpEducation
.
setId
(
info
.
getId
());
}
tPreEmpEducation
.
setEmpId
(
empId
);
...
...
@@ -538,7 +538,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpEducation
.
setCreateBy
(
user
.
getId
());
tPreEmpEducation
.
setCreateName
(
user
.
getNickname
());
tPreEmpEducation
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpEducation
.
getId
())
)
{
tPreEmpEducationService
.
save
(
tPreEmpEducation
);
}
}
else
{
...
...
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