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
b7accbd9
Commit
b7accbd9
authored
Apr 10, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
0dffcb18
a1048f0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
+14
-5
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
View file @
b7accbd9
...
...
@@ -748,6 +748,7 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
// 1. 生效日期独立验证(第一步)
Date
effectiveDate
=
policy
.
getEffectiveDate
();
List
<
ApiExpectedSpeciesListResponse
>
validDateList
=
filterAndCheck
(
expectedSpeciesList
,
i
->
isEffective
(
i
.
getEffectiveStart
(),
i
.
getEffectiveEnd
(),
effectiveDate
),
...
...
@@ -758,8 +759,16 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
return
new
MatchResult
(
Collections
.
emptyList
(),
unmatchedConditions
);
}
if
(
validDateList
.
isEmpty
())
{
return
new
MatchResult
(
Collections
.
emptyList
(),
Collections
.
emptyList
());
// 1. 出单经纪公司独立验证
String
reconciliationCompanyBizId
=
policy
.
getReconciliationCompanyBizId
();
validDateList
=
filterAndCheck
(
validDateList
,
i
->
i
.
getReconciliationCompany
().
equals
(
reconciliationCompanyBizId
),
unmatchedConditions
,
"出单经纪公司["
+
policy
.
getReconciliationCompany
()
+
"]"
);
if
(!
unmatchedConditions
.
isEmpty
())
{
return
new
MatchResult
(
Collections
.
emptyList
(),
unmatchedConditions
);
}
// 2. 获取第一个规格的条件模板
...
...
@@ -900,12 +909,12 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
ApiExpectedSpeciesListRequest
apiExpectedSpeciesListRequest
=
new
ApiExpectedSpeciesListRequest
();
apiExpectedSpeciesListRequest
.
setProductLaunchBizId
(
productLaunchBizId
);
Result
<
List
<
ApiExpectedSpeciesListResponse
>>
result
=
apiExpectedSpeciesFeignClient
.
list
(
apiExpectedSpeciesListRequest
);
log
.
info
(
"查询预计
出
佣规格queryExpectedSpeciesByFeign==========>,{}"
,
JSON
.
toJSONString
(
result
));
log
.
info
(
"查询预计
来
佣规格queryExpectedSpeciesByFeign==========>,{}"
,
JSON
.
toJSONString
(
result
));
if
(
result
!=
null
&&
result
.
getCode
()
==
200
)
{
return
result
.
getData
();
}
else
{
log
.
error
(
"查询预计
出
佣规格失败: productLaunchBizId={}"
,
productLaunchBizId
);
throw
new
BusinessException
(
ResultCode
.
FAIL
.
getCode
(),
"查询预计
出
佣规格失败"
);
log
.
error
(
"查询预计
来
佣规格失败: productLaunchBizId={}"
,
productLaunchBizId
);
throw
new
BusinessException
(
ResultCode
.
FAIL
.
getCode
(),
"查询预计
来
佣规格失败"
);
}
}
...
...
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