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
ab412e45
Commit
ab412e45
authored
Jan 07, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端对接问题修复78
parent
3e802284
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
+5
-4
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
View file @
ab412e45
...
@@ -517,16 +517,17 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
...
@@ -517,16 +517,17 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
List
<
Fortune
>
fortuneList
=
fortuneService
.
lambdaQuery
()
List
<
Fortune
>
fortuneList
=
fortuneService
.
lambdaQuery
()
.
in
(
Fortune:
:
getExpectedFortuneBizId
,
filteredExpectedFortuneList1
.
stream
().
map
(
ExpectedFortune:
:
getExpectedFortuneBizId
).
collect
(
Collectors
.
toList
()))
.
in
(
Fortune:
:
getExpectedFortuneBizId
,
filteredExpectedFortuneList1
.
stream
().
map
(
ExpectedFortune:
:
getExpectedFortuneBizId
).
collect
(
Collectors
.
toList
()))
.
list
();
.
list
();
// 2.1 根据保单号和期数建立映射关系
// 2.1 已出帐的保单号和期数
Map
<
String
,
Fortune
>
fortuneMap
=
fortuneList
.
stream
()
Set
<
String
>
fortuneSet
=
fortuneList
.
stream
()
.
collect
(
Collectors
.
toMap
(
i
->
i
.
getPolicyNo
()
+
"_"
+
i
.
getFortunePeriod
(),
fortune
->
fortune
));
.
map
(
i
->
i
.
getPolicyNo
()
+
"_"
+
i
.
getFortunePeriod
())
.
collect
(
Collectors
.
toSet
());
// 2.2 校验是否有已出账的记录
// 2.2 校验是否有已出账的记录
List
<
ExpectedFortune
>
filteredExpectedFortuneList2
=
new
ArrayList
<>();
List
<
ExpectedFortune
>
filteredExpectedFortuneList2
=
new
ArrayList
<>();
for
(
ExpectedFortune
expectedFortune
:
filteredExpectedFortuneList1
)
{
for
(
ExpectedFortune
expectedFortune
:
filteredExpectedFortuneList1
)
{
String
policyNo
=
expectedFortune
.
getPolicyNo
();
String
policyNo
=
expectedFortune
.
getPolicyNo
();
Integer
fortunePeriod
=
expectedFortune
.
getFortunePeriod
();
Integer
fortunePeriod
=
expectedFortune
.
getFortunePeriod
();
// 如果有已出账记录,跳过,表示此次该预计出账已出账
// 如果有已出账记录,跳过,表示此次该预计出账已出账
if
(
fortune
Map
.
get
(
policyNo
+
"_"
+
fortunePeriod
)
!=
null
)
{
if
(
fortune
Set
.
contains
(
policyNo
+
"_"
+
fortunePeriod
)
)
{
continue
;
continue
;
}
}
filteredExpectedFortuneList2
.
add
(
expectedFortune
);
filteredExpectedFortuneList2
.
add
(
expectedFortune
);
...
...
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