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
19858736
Commit
19858736
authored
Sep 30, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fna接口58
parent
b36e2dd3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
0 deletions
+17
-0
yd-csf-service/src/main/java/com/yd/csf/service/dto/FortuneAccountExportDTO.java
+3
-0
yd-csf-service/src/main/java/com/yd/csf/service/model/FortuneAccount.java
+5
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneAccountServiceImpl.java
+1
-0
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
+2
-0
yd-csf-service/src/main/java/com/yd/csf/service/vo/FortuneAccountVO.java
+6
-0
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/dto/FortuneAccountExportDTO.java
View file @
19858736
...
@@ -18,6 +18,9 @@ public class FortuneAccountExportDTO implements Serializable {
...
@@ -18,6 +18,9 @@ public class FortuneAccountExportDTO implements Serializable {
@ExcelProperty
(
"所属团队"
)
@ExcelProperty
(
"所属团队"
)
private
String
team
;
private
String
team
;
@ExcelProperty
(
"出账币种"
)
private
String
currency
;
@ExcelProperty
(
"出账总额"
)
@ExcelProperty
(
"出账总额"
)
private
BigDecimal
amount
;
private
BigDecimal
amount
;
...
...
yd-csf-service/src/main/java/com/yd/csf/service/model/FortuneAccount.java
View file @
19858736
...
@@ -38,6 +38,11 @@ public class FortuneAccount implements Serializable {
...
@@ -38,6 +38,11 @@ public class FortuneAccount implements Serializable {
private
String
team
;
private
String
team
;
/**
/**
* 出账币种
*/
private
String
currency
;
/**
* 出账总额
* 出账总额
*/
*/
private
BigDecimal
amount
;
private
BigDecimal
amount
;
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneAccountServiceImpl.java
View file @
19858736
...
@@ -87,6 +87,7 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
...
@@ -87,6 +87,7 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
fortuneAccount
.
setFortuneAccountBizId
(
RandomStringGenerator
.
generateBizId16
(
"fortune_account"
));
fortuneAccount
.
setFortuneAccountBizId
(
RandomStringGenerator
.
generateBizId16
(
"fortune_account"
));
fortuneAccount
.
setBroker
(
accountExportDTO
.
getBroker
());
fortuneAccount
.
setBroker
(
accountExportDTO
.
getBroker
());
fortuneAccount
.
setTeam
(
accountExportDTO
.
getTeam
());
fortuneAccount
.
setTeam
(
accountExportDTO
.
getTeam
());
fortuneAccount
.
setCurrency
(
accountExportDTO
.
getCurrency
());
fortuneAccount
.
setAmount
(
accountExportDTO
.
getAmount
());
fortuneAccount
.
setAmount
(
accountExportDTO
.
getAmount
());
fortuneAccount
.
setFortuneAccountDate
(
currentDate
);
fortuneAccount
.
setFortuneAccountDate
(
currentDate
);
// 出账状态默认待出账
// 出账状态默认待出账
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
View file @
19858736
...
@@ -185,6 +185,8 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
...
@@ -185,6 +185,8 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
List
<
List
<
String
>>
head
=
new
ArrayList
<>();
List
<
List
<
String
>>
head
=
new
ArrayList
<>();
head
.
add
(
Collections
.
singletonList
(
"转介人"
));
head
.
add
(
Collections
.
singletonList
(
"转介人"
));
head
.
add
(
Collections
.
singletonList
(
"所属团队"
));
head
.
add
(
Collections
.
singletonList
(
"所属团队"
));
head
.
add
(
Collections
.
singletonList
(
"出账币种"
));
head
.
add
(
Collections
.
singletonList
(
"出账总额"
));
// 添加所有fortune项目作为表头
// 添加所有fortune项目作为表头
for
(
String
fortuneName
:
allFortuneNames
)
{
for
(
String
fortuneName
:
allFortuneNames
)
{
...
...
yd-csf-service/src/main/java/com/yd/csf/service/vo/FortuneAccountVO.java
View file @
19858736
...
@@ -32,6 +32,12 @@ public class FortuneAccountVO {
...
@@ -32,6 +32,12 @@ public class FortuneAccountVO {
private
String
team
;
private
String
team
;
/**
/**
* 出账币种
*/
@Schema
(
description
=
"出账币种"
)
private
String
currency
;
/**
* 出账总额
* 出账总额
*/
*/
@Schema
(
description
=
"出账总额"
)
@Schema
(
description
=
"出账总额"
)
...
...
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