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
6b1c50ad
Commit
6b1c50ad
authored
Jun 11, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实缴修改
parent
c6eee457
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
19 deletions
+6
-19
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+6
-19
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
6b1c50ad
...
...
@@ -1820,47 +1820,34 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
domainMap
.
clear
();
//批量插入数据
//养老
List
<
TPaymentInfo
>
list
;
if
(!
batchYlInsertList
.
isEmpty
())
{
list
=
new
ArrayList
<>(
batchYlInsertList
.
values
());
this
.
saveBatch
(
list
);
this
.
saveBatch
(
batchYlInsertList
.
values
());
batchYlInsertList
.
clear
();
list
.
clear
();
}
//工伤
if
(!
batchGsInsertList
.
isEmpty
())
{
list
=
new
ArrayList
<>(
batchGsInsertList
.
values
());
this
.
saveBatch
(
list
);
this
.
saveBatch
(
batchGsInsertList
.
values
());
batchGsInsertList
.
clear
();
list
.
clear
();
}
//医疗
if
(!
batchYyInsertList
.
isEmpty
())
{
list
=
new
ArrayList
<>(
batchYyInsertList
.
values
());
this
.
saveBatch
(
list
);
this
.
saveBatch
(
batchYyInsertList
.
values
());
batchYyInsertList
.
clear
();
list
.
clear
();
}
//失业
if
(!
batchSyInsertList
.
isEmpty
())
{
list
=
new
ArrayList
<>(
batchSyInsertList
.
values
());
this
.
saveBatch
(
list
);
this
.
saveBatch
(
batchSyInsertList
.
values
());
batchSyInsertList
.
clear
();
list
.
clear
();
}
//大病
if
(!
batchBigInsertList
.
isEmpty
())
{
list
=
new
ArrayList
<>(
batchBigInsertList
.
values
());
this
.
saveBatch
(
list
);
this
.
saveBatch
(
batchBigInsertList
.
values
());
batchBigInsertList
.
clear
();
list
.
clear
();
}
//生育
if
(!
batchBirthInsertList
.
isEmpty
())
{
list
=
new
ArrayList
<>(
batchBirthInsertList
.
values
());
this
.
saveBatch
(
list
);
this
.
saveBatch
(
batchBirthInsertList
.
values
());
batchBirthInsertList
.
clear
();
list
.
clear
();
}
}
catch
(
Exception
e
)
{
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
...
...
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