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
61c3d939
Commit
61c3d939
authored
Nov 07, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.1 预入职更新在项时的薪资人员
parent
19cdee60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+16
-4
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
61c3d939
...
...
@@ -428,6 +428,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpBadRecord
info
=
tEmpBadRecordService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpBadRecord
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
tPreEmpBadRecord
.
setId
(
info
.
getId
());
}
tPreEmpBadRecord
.
setEmpId
(
empId
);
tPreEmpBadRecord
.
setOldId
(
info
.
getId
());
}
...
...
@@ -458,6 +461,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpContactInfo
info
=
tEmpContactInfoService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpContactInfo
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
tPreEmpContactInfo
.
setId
(
info
.
getId
());
}
tPreEmpContactInfo
.
setEmpId
(
empId
);
tPreEmpContactInfo
.
setOldId
(
info
.
getId
());
}
...
...
@@ -484,6 +490,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpDisabilityInfo
info
=
tEmpDisabilityInfoService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpDisabilityInfo
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
tPreEmpDisabilityInfo
.
setId
(
info
.
getId
());
}
tPreEmpDisabilityInfo
.
setEmpId
(
empId
);
tPreEmpDisabilityInfo
.
setOldId
(
info
.
getId
());
}
...
...
@@ -517,6 +526,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpEducation
info
=
tEmpEducationService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpEducation
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
tPreEmpEducation
.
setId
(
info
.
getId
());
}
tPreEmpEducation
.
setEmpId
(
empId
);
tPreEmpEducation
.
setOldId
(
info
.
getId
());
...
...
@@ -614,7 +626,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TPreEmpFamily
record
;
for
(
TEmpFamily
info
:
infoList
)
{
record
=
new
TPreEmpFamily
();
BeanUtil
.
copyProperties
(
info
,
record
,
ID
);
BeanUtil
.
copyProperties
(
info
,
record
);
record
.
setEmpId
(
empId
);
record
.
setOldId
(
info
.
getId
());
record
.
setSettleDomain
(
deptId
);
...
...
@@ -777,7 +789,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
if
(
infoList
!=
null
&&
!
infoList
.
isEmpty
())
{
for
(
TEmpProfessionalQualification
info
:
infoList
)
{
record
=
new
TPreEmpProfessionalQualification
();
BeanUtil
.
copyProperties
(
info
,
record
,
ID
);
BeanUtil
.
copyProperties
(
info
,
record
);
record
.
setEmpId
(
empId
);
record
.
setOldId
(
info
.
getId
());
record
.
setSettleDomain
(
deptId
);
...
...
@@ -892,7 +904,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
if
(
infoList
!=
null
&&
!
infoList
.
isEmpty
())
{
for
(
TEmpOtherFile
info
:
infoList
)
{
record
=
new
TPreEmpOtherFile
();
BeanUtil
.
copyProperties
(
info
,
record
,
ID
);
BeanUtil
.
copyProperties
(
info
,
record
);
record
.
setEmpId
(
empId
);
record
.
setOldId
(
info
.
getId
());
// 附件
...
...
@@ -993,7 +1005,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
if
(
infoList
!=
null
&&
!
infoList
.
isEmpty
())
{
for
(
TEmpWorkRecording
info
:
infoList
)
{
record
=
new
TPreEmpWorkRecording
();
BeanUtil
.
copyProperties
(
info
,
record
,
ID
);
BeanUtil
.
copyProperties
(
info
,
record
);
record
.
setEmpId
(
empId
);
record
.
setOldId
(
info
.
getId
());
record
.
setSettleDomain
(
deptId
);
...
...
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