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
b91dcd3c
Commit
b91dcd3c
authored
Apr 27, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
99fec90d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneAccountServiceImpl.java
+7
-4
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneAccountServiceImpl.java
View file @
b91dcd3c
...
@@ -121,14 +121,17 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
...
@@ -121,14 +121,17 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
Map
<
String
,
String
>
map
=
policyBrokerService
.
queryInternalCodeMap
(
brokerBizIdList
);
Map
<
String
,
String
>
map
=
policyBrokerService
.
queryInternalCodeMap
(
brokerBizIdList
);
List
<
FortuneAccount
>
fortuneAccountList
=
new
ArrayList
<>();
List
<
FortuneAccount
>
fortuneAccountList
=
new
ArrayList
<>();
Date
currentDate
=
new
Date
();
Date
currentDate
=
new
Date
();
String
billingYearMonth
=
actualPayoutDate
!=
null
?
actualPayoutDate
.
format
(
java
.
time
.
format
.
DateTimeFormatter
.
ofPattern
(
"yyyyMM"
))
:
""
;
for
(
FortuneAccountExportDTO
accountExportDTO
:
accountExportDTOList
)
{
for
(
FortuneAccountExportDTO
accountExportDTO
:
accountExportDTOList
)
{
FortuneAccount
fortuneAccount
=
new
FortuneAccount
();
FortuneAccount
fortuneAccount
=
new
FortuneAccount
();
fortuneAccount
.
setFortuneAccountBizId
(
RandomStringGenerator
.
generateBizId16
(
"fortune_account"
));
fortuneAccount
.
setFortuneAccountBizId
(
RandomStringGenerator
.
generateBizId16
(
"fortune_account"
));
String
internalCode
=
map
.
get
(
accountExportDTO
.
getBrokerBizId
());
String
internalCode
=
map
.
get
(
accountExportDTO
.
getBrokerBizId
());
LocalDate
payoutDate
=
accountExportDTO
.
getActualPayoutDate
();
//
LocalDate payoutDate = accountExportDTO.getActualPayoutDate();
String
billingYearMonth
=
payoutDate
!=
null
//
String billingYearMonth = payoutDate != null
?
actualPayoutDate
.
format
(
java
.
time
.
format
.
DateTimeFormatter
.
ofPattern
(
"yyyyMM"
))
//
? actualPayoutDate.format(java.time.format.DateTimeFormatter.ofPattern("yyyyMM"))
:
""
;
//
: "";
String
businessNo
=
BusinessNoUtils
.
generate
(
billingYearMonth
,
internalCode
);
String
businessNo
=
BusinessNoUtils
.
generate
(
billingYearMonth
,
internalCode
);
//出账业务编号(出账年月 + 转介人内部编号(后6位)(如无,用0补齐)+流水号(6位))
//出账业务编号(出账年月 + 转介人内部编号(后6位)(如无,用0补齐)+流水号(6位))
fortuneAccount
.
setBusinessNo
(
businessNo
);
fortuneAccount
.
setBusinessNo
(
businessNo
);
...
...
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