Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
492c4f21
Commit
492c4f21
authored
Jun 11, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
5bce7c36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiSalarySplitServiceImpl.java
+3
-1
yd-csf-feign/src/main/java/com/yd/csf/feign/dto/excel/ApiSalarySplitSummaryExcelDto.java
+12
-12
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiSalarySplitServiceImpl.java
View file @
492c4f21
...
...
@@ -296,11 +296,13 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
// 查询数据
List
<
ApiSalarySplitSummaryPageDto
>
dataList
=
iSalarySplitService
.
summaryList
(
request
);
log
.
info
(
"导出-薪资拆分应发信息汇总列表:dataList,{}"
,
JSON
.
toJSONString
(
dataList
));
Map
<
String
,
String
>
map
=
getBillOrgDict
();
List
<
ApiSalarySplitSummaryExcelDto
>
excelDtoList
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isNotEmpty
(
dataList
))
{
excelDtoList
=
dataList
.
stream
().
map
(
dto
->
{
ApiSalarySplitSummaryExcelDto
excelDto
=
new
ApiSalarySplitSummaryExcelDto
();
BeanUtils
.
copyProperties
(
dto
,
excelDto
);
excelDto
.
setBillOrg
(
map
!=
null
?
map
.
get
(
dto
.
getBillOrg
())
:
""
);
return
excelDto
;
}).
collect
(
Collectors
.
toList
());
}
...
...
@@ -309,7 +311,7 @@ public class ApiSalarySplitServiceImpl implements ApiSalarySplitService {
ExportParam
exportParam
=
new
ExportParam
();
// 指定需要导出的字段(字段名必须与 DTO 中的属性名一致)
exportParam
.
setFieldNames
(
Arrays
.
asList
(
"salarySplitNo"
,
"businessNo"
,
"brokerName"
,
"team"
,
"fromAmount"
,
"salarySplitNo"
,
"businessNo"
,
"brokerName"
,
"
internalNumber"
,
"
team"
,
"fromAmount"
,
"currency"
,
"exchangeRate"
,
"toAmount"
,
"toCurrency"
,
"fortuneAccountMonth"
,
"billOrg"
,
"amount"
));
...
...
yd-csf-feign/src/main/java/com/yd/csf/feign/dto/excel/ApiSalarySplitSummaryExcelDto.java
View file @
492c4f21
...
...
@@ -10,40 +10,40 @@ public class ApiSalarySplitSummaryExcelDto {
@Excel
(
name
=
"发放编号"
,
orderNum
=
"1"
)
private
String
salarySplitNo
;
@Excel
(
name
=
"业务编号"
,
orderNum
=
"
1
"
)
@Excel
(
name
=
"业务编号"
,
orderNum
=
"
2
"
)
private
String
businessNo
;
@Excel
(
name
=
"转介人"
,
orderNum
=
"
2
"
)
@Excel
(
name
=
"转介人"
,
orderNum
=
"
3
"
)
private
String
brokerName
;
@Excel
(
name
=
"内部编号"
,
orderNum
=
"
3
"
)
@Excel
(
name
=
"内部编号"
,
orderNum
=
"
4
"
)
private
String
internalNumber
;
@Excel
(
name
=
"所属团队"
,
orderNum
=
"
4
"
)
@Excel
(
name
=
"所属团队"
,
orderNum
=
"
5
"
)
private
String
team
;
@Excel
(
name
=
"原币种金额"
,
orderNum
=
"
5
"
)
@Excel
(
name
=
"原币种金额"
,
orderNum
=
"
6
"
)
private
BigDecimal
fromAmount
;
@Excel
(
name
=
"原币种"
,
orderNum
=
"
6
"
)
@Excel
(
name
=
"原币种"
,
orderNum
=
"
7
"
)
private
String
currency
;
@Excel
(
name
=
"汇率(原币种->目标币种)"
,
orderNum
=
"
7
"
)
@Excel
(
name
=
"汇率(原币种->目标币种)"
,
orderNum
=
"
8
"
)
private
BigDecimal
exchangeRate
;
@Excel
(
name
=
"目标金额"
,
orderNum
=
"
8
"
)
@Excel
(
name
=
"目标金额"
,
orderNum
=
"
9
"
)
private
BigDecimal
toAmount
;
@Excel
(
name
=
"目标币种"
,
orderNum
=
"
9
"
)
@Excel
(
name
=
"目标币种"
,
orderNum
=
"
10
"
)
private
String
toCurrency
;
@Excel
(
name
=
"出账月(实)"
,
orderNum
=
"1
0
"
)
@Excel
(
name
=
"出账月(实)"
,
orderNum
=
"1
1
"
)
private
String
fortuneAccountMonth
;
@Excel
(
name
=
"出账机构"
,
orderNum
=
"1
1
"
)
@Excel
(
name
=
"出账机构"
,
orderNum
=
"1
2
"
)
private
String
billOrg
;
@Excel
(
name
=
"本期总出账金额(原币种)"
,
orderNum
=
"1
2
"
)
@Excel
(
name
=
"本期总出账金额(原币种)"
,
orderNum
=
"1
3
"
)
private
BigDecimal
amount
;
}
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