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
a6d4a43d
Commit
a6d4a43d
authored
Jun 24, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.6-社保士兵派单id优化
parent
81f94ce7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+26
-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 @
a6d4a43d
...
...
@@ -329,7 +329,19 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmpEducation
.
setEmpCode
(
employee
.
getEmpCode
());
}
tPreEmpEducation
.
setEmpIdcard
(
empIdCard
);
tPreEmpEducation
.
setAttaList
(
new
ArrayList
<>());
tPreEmpEducationService
.
save
(
tPreEmpEducation
);
}
else
{
// 附件
List
<
TAttaInfo
>
attaInfoList
=
tAttaInfoService
.
getTAttaInfoListByDoMainId
(
tPreEmpEducation
.
getId
());
if
(
attaInfoList
!=
null
)
{
URL
url
;
for
(
TAttaInfo
atta
:
attaInfoList
)
{
url
=
ossUtil
.
getObjectUrl
(
null
,
atta
.
getAttaSrc
());
atta
.
setAttaUrl
(
String
.
valueOf
(
url
));
}
}
tPreEmpEducation
.
setAttaList
(
attaInfoList
);
}
vo
.
setTPreEmpEducation
(
tPreEmpEducation
);
// 预入职-员工家庭信息表
...
...
@@ -428,9 +440,23 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
}
record
.
setEmpIdcard
(
empIdCard
);
record
.
setPreMainId
(
id
);
record
.
setAttaList
(
new
ArrayList
<>());
tPreEmpProfessionalQualificationService
.
save
(
record
);
tPreEmpProfessionalQualificationList
.
add
(
record
);
}
}
else
{
for
(
TPreEmpProfessionalQualification
info
:
tPreEmpProfessionalQualificationList
)
{
// 附件
List
<
TAttaInfo
>
attaInfoList
=
tAttaInfoService
.
getTAttaInfoListByDoMainId
(
info
.
getId
());
if
(
attaInfoList
!=
null
)
{
URL
url
;
for
(
TAttaInfo
atta
:
attaInfoList
)
{
url
=
ossUtil
.
getObjectUrl
(
null
,
atta
.
getAttaSrc
());
atta
.
setAttaUrl
(
String
.
valueOf
(
url
));
}
}
info
.
setAttaList
(
attaInfoList
);
}
}
vo
.
setTPreEmpProfessionalQualificationList
(
tPreEmpProfessionalQualificationList
);
// 预入职-员工工作履历信息表
...
...
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