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
8bb4c032
Commit
8bb4c032
authored
Apr 23, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.10-工资条
parent
8cf37236
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
49 deletions
+53
-49
TSalaryAccountServiceImpl.java
...1/yifu/salary/service/impl/TSalaryAccountServiceImpl.java
+53
-49
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryAccountServiceImpl.java
View file @
8bb4c032
...
@@ -425,8 +425,11 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
...
@@ -425,8 +425,11 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
int
index
=
0
;
int
index
=
0
;
WriteSheet
writeSheet
=
null
;
WriteSheet
writeSheet
=
null
;
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
searchVo
.
setLimitStart
(
0
);
//int limit = 1000;
searchVo
.
setLimitEnd
(
CommonConstants
.
EXCEL_EXPORT_LIMIT
);
int
limit
=
5
;
for
(
int
i
=
0
;
i
<
count
;
i
+=
limit
)
{
searchVo
.
setLimitStart
(
i
);
searchVo
.
setLimitEnd
(
limit
);
List
<
TSalaryAccountExportSpecialVo
>
baseList
=
baseMapper
.
getEmpAccountExport
(
searchVo
);
List
<
TSalaryAccountExportSpecialVo
>
baseList
=
baseMapper
.
getEmpAccountExport
(
searchVo
);
List
<
List
<
String
>>
listContent
=
new
ArrayList
<>();
List
<
List
<
String
>>
listContent
=
new
ArrayList
<>();
List
<
String
>
contentList
=
new
ArrayList
<>();
List
<
String
>
contentList
=
new
ArrayList
<>();
...
@@ -437,7 +440,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
...
@@ -437,7 +440,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
Map
<
String
,
Map
<
String
,
String
>>
itemMap
=
new
HashMap
<>();
Map
<
String
,
Map
<
String
,
String
>>
itemMap
=
new
HashMap
<>();
Map
<
String
,
String
>
tempMap
=
new
HashMap
<>();
Map
<
String
,
String
>
tempMap
=
new
HashMap
<>();
if
(
titleAllList
!=
null
&&
!
titleAllList
.
isEmpty
())
{
if
(
titleAllList
!=
null
&&
!
titleAllList
.
isEmpty
())
{
List
<
TSalaryAccountExportSpecialItemVo
>
itemList
=
baseMapper
.
getEmpAccountItemExport
(
searchVo
.
getSettlementMonth
()
,
contentList
);
List
<
TSalaryAccountExportSpecialItemVo
>
itemList
=
baseMapper
.
getEmpAccountItemExport
(
searchVo
.
getSettlementMonth
(),
contentList
);
for
(
TSalaryAccountExportSpecialItemVo
itemVo
:
itemList
)
{
for
(
TSalaryAccountExportSpecialItemVo
itemVo
:
itemList
)
{
tempMap
=
itemMap
.
get
(
itemVo
.
getAccountId
());
tempMap
=
itemMap
.
get
(
itemVo
.
getAccountId
());
if
(
tempMap
==
null
)
{
if
(
tempMap
==
null
)
{
...
@@ -482,8 +485,9 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
...
@@ -482,8 +485,9 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
listContent
.
add
(
contentList
);
listContent
.
add
(
contentList
);
}
}
}
}
writeSheet
=
EasyExcelFactory
.
writerSheet
(
"工资条"
+
index
).
build
();
writeSheet
=
EasyExcelFactory
.
writerSheet
(
"工资条"
+
index
++
).
build
();
excelWriter
.
write
(
listContent
,
writeSheet
);
excelWriter
.
write
(
listContent
,
writeSheet
);
}
/*Map<String,TSalaryAccountItemExportVo> itemExportVoMap = new HashMap<>();
/*Map<String,TSalaryAccountItemExportVo> itemExportVoMap = new HashMap<>();
List<String> idList = null;
List<String> idList = null;
List<String> idStandardList = null;
List<String> idStandardList = null;
...
...
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