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
356edcf8
Commit
356edcf8
authored
Jul 05, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.6-预入职相关_先删
parent
2e896a8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+10
-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 @
356edcf8
...
@@ -468,6 +468,12 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -468,6 +468,12 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
if
(
tPreEmployeeProject
==
null
)
{
if
(
tPreEmployeeProject
==
null
)
{
tPreEmployeeProject
=
new
TPreEmployeeProject
();
tPreEmployeeProject
=
new
TPreEmployeeProject
();
tPreEmployeeProject
.
setEmpIdcard
(
main
.
getEmpIdcard
());
tPreEmployeeProject
.
setEmpIdcard
(
main
.
getEmpIdcard
());
tPreEmployeeProject
.
setUnitId
(
dept
.
getCustomerId
());
tPreEmployeeProject
.
setUnitName
(
dept
.
getCustomerName
());
tPreEmployeeProject
.
setUnitNo
(
dept
.
getCustomerNo
());
tPreEmployeeProject
.
setBusinessPrimaryType
(
dept
.
getBusinessPrimaryType
());
tPreEmployeeProject
.
setBusinessSecondType
(
dept
.
getBusinessSecondType
());
tPreEmployeeProject
.
setBusinessThirdType
(
dept
.
getBusinessThirdType
());
tPreEmployeeProject
.
setDeptId
(
main
.
getDeptId
());
tPreEmployeeProject
.
setDeptId
(
main
.
getDeptId
());
tPreEmployeeProject
.
setDeptName
(
main
.
getDeptName
());
tPreEmployeeProject
.
setDeptName
(
main
.
getDeptName
());
tPreEmployeeProject
.
setDeptNo
(
main
.
getDeptNo
());
tPreEmployeeProject
.
setDeptNo
(
main
.
getDeptNo
());
...
@@ -1234,9 +1240,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -1234,9 +1240,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
}
}
// 预入职-员工职业资格信息表
// 预入职-员工职业资格信息表
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualificationList
=
vo
.
getTpreEmpProfessionalQualificationList
();
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualificationList
=
vo
.
getTpreEmpProfessionalQualificationList
();
// 先删除其他信息
tEmpProfessionalService
.
deleteProfessionalByEmpId
(
empId
);
if
(
tPreEmpProfessionalQualificationList
!=
null
)
{
if
(
tPreEmpProfessionalQualificationList
!=
null
)
{
// 先删除其他信息
tEmpProfessionalService
.
deleteProfessionalByEmpId
(
empId
);
TEmpProfessionalQualification
info
;
TEmpProfessionalQualification
info
;
for
(
TPreEmpProfessionalQualification
preInfo
:
tPreEmpProfessionalQualificationList
)
{
for
(
TPreEmpProfessionalQualification
preInfo
:
tPreEmpProfessionalQualificationList
)
{
info
=
new
TEmpProfessionalQualification
();
info
=
new
TEmpProfessionalQualification
();
...
@@ -1282,9 +1288,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
...
@@ -1282,9 +1288,9 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
}
}
// 预入职-员工工作履历信息表
// 预入职-员工工作履历信息表
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecordingList
=
vo
.
getTpreEmpWorkRecordingList
();
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecordingList
=
vo
.
getTpreEmpWorkRecordingList
();
// 先删除其他信息
tEmpWorkRecordingService
.
deleteWorkRecordByEmpId
(
empId
);
if
(
tPreEmpWorkRecordingList
!=
null
)
{
if
(
tPreEmpWorkRecordingList
!=
null
)
{
// 先删除其他信息
tEmpWorkRecordingService
.
deleteWorkRecordByEmpId
(
empId
);
TEmpWorkRecording
info
;
TEmpWorkRecording
info
;
for
(
TPreEmpWorkRecording
preInfo
:
tPreEmpWorkRecordingList
)
{
for
(
TPreEmpWorkRecording
preInfo
:
tPreEmpWorkRecordingList
)
{
info
=
new
TEmpWorkRecording
();
info
=
new
TEmpWorkRecording
();
...
...
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