Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
You need to sign in or sign up before continuing.
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
...
@@ -411,7 +411,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpBadRecord
info
=
tEmpBadRecordService
.
getByEmpId
(
empId
);
TEmpBadRecord
info
=
tEmpBadRecordService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpBadRecord
,
ID
);
BeanUtil
.
copyProperties
(
info
,
tPreEmpBadRecord
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
empFirst
)
{
tPreEmpBadRecord
.
setId
(
info
.
getId
());
tPreEmpBadRecord
.
setId
(
info
.
getId
());
}
}
tPreEmpBadRecord
.
setEmpId
(
empId
);
tPreEmpBadRecord
.
setEmpId
(
empId
);
...
@@ -426,7 +426,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -426,7 +426,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpBadRecord
.
setCreateBy
(
user
.
getId
());
tPreEmpBadRecord
.
setCreateBy
(
user
.
getId
());
tPreEmpBadRecord
.
setCreateName
(
user
.
getNickname
());
tPreEmpBadRecord
.
setCreateName
(
user
.
getNickname
());
tPreEmpBadRecord
.
setCreateTime
(
LocalDateTime
.
now
());
tPreEmpBadRecord
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpBadRecord
.
getId
())
)
{
tPreEmpBadRecordService
.
save
(
tPreEmpBadRecord
);
tPreEmpBadRecordService
.
save
(
tPreEmpBadRecord
);
}
}
}
}
...
@@ -444,7 +444,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -444,7 +444,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpContactInfo
info
=
tEmpContactInfoService
.
getByEmpId
(
empId
);
TEmpContactInfo
info
=
tEmpContactInfoService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpContactInfo
,
ID
);
BeanUtil
.
copyProperties
(
info
,
tPreEmpContactInfo
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
tPreEmpContactInfo
.
setId
(
info
.
getId
());
tPreEmpContactInfo
.
setId
(
info
.
getId
());
}
}
tPreEmpContactInfo
.
setEmpId
(
empId
);
tPreEmpContactInfo
.
setEmpId
(
empId
);
...
@@ -455,7 +455,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -455,7 +455,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpContactInfo
.
setCreateBy
(
user
.
getId
());
tPreEmpContactInfo
.
setCreateBy
(
user
.
getId
());
tPreEmpContactInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmpContactInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmpContactInfo
.
setCreateTime
(
LocalDateTime
.
now
());
tPreEmpContactInfo
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpContactInfo
.
getId
())
)
{
tPreEmpContactInfoService
.
save
(
tPreEmpContactInfo
);
tPreEmpContactInfoService
.
save
(
tPreEmpContactInfo
);
}
}
}
}
...
@@ -473,7 +473,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -473,7 +473,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpDisabilityInfo
info
=
tEmpDisabilityInfoService
.
getByEmpId
(
empId
);
TEmpDisabilityInfo
info
=
tEmpDisabilityInfoService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpDisabilityInfo
,
ID
);
BeanUtil
.
copyProperties
(
info
,
tPreEmpDisabilityInfo
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
tPreEmpDisabilityInfo
.
setId
(
info
.
getId
());
tPreEmpDisabilityInfo
.
setId
(
info
.
getId
());
}
}
tPreEmpDisabilityInfo
.
setEmpId
(
empId
);
tPreEmpDisabilityInfo
.
setEmpId
(
empId
);
...
@@ -491,7 +491,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -491,7 +491,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpDisabilityInfo
.
setCreateBy
(
user
.
getId
());
tPreEmpDisabilityInfo
.
setCreateBy
(
user
.
getId
());
tPreEmpDisabilityInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmpDisabilityInfo
.
setCreateName
(
user
.
getNickname
());
tPreEmpDisabilityInfo
.
setCreateTime
(
LocalDateTime
.
now
());
tPreEmpDisabilityInfo
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpDisabilityInfo
.
getId
())
)
{
tPreEmpDisabilityInfoService
.
save
(
tPreEmpDisabilityInfo
);
tPreEmpDisabilityInfoService
.
save
(
tPreEmpDisabilityInfo
);
}
}
}
}
...
@@ -509,7 +509,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -509,7 +509,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
TEmpEducation
info
=
tEmpEducationService
.
getByEmpId
(
empId
);
TEmpEducation
info
=
tEmpEducationService
.
getByEmpId
(
empId
);
if
(
info
!=
null
)
{
if
(
info
!=
null
)
{
BeanUtil
.
copyProperties
(
info
,
tPreEmpEducation
,
ID
);
BeanUtil
.
copyProperties
(
info
,
tPreEmpEducation
,
ID
);
if
(
Common
.
isEmpty
(
preId
))
{
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
tPreEmpEducation
.
setId
(
info
.
getId
());
tPreEmpEducation
.
setId
(
info
.
getId
());
}
}
tPreEmpEducation
.
setEmpId
(
empId
);
tPreEmpEducation
.
setEmpId
(
empId
);
...
@@ -538,7 +538,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -538,7 +538,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpEducation
.
setCreateBy
(
user
.
getId
());
tPreEmpEducation
.
setCreateBy
(
user
.
getId
());
tPreEmpEducation
.
setCreateName
(
user
.
getNickname
());
tPreEmpEducation
.
setCreateName
(
user
.
getNickname
());
tPreEmpEducation
.
setCreateTime
(
LocalDateTime
.
now
());
tPreEmpEducation
.
setCreateTime
(
LocalDateTime
.
now
());
if
(
Common
.
isEmpty
(
preId
)
&&
!
empFirst
)
{
if
(
Common
.
isEmpty
(
tPreEmpEducation
.
getId
())
)
{
tPreEmpEducationService
.
save
(
tPreEmpEducation
);
tPreEmpEducationService
.
save
(
tPreEmpEducation
);
}
}
}
else
{
}
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