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
17710612
Commit
17710612
authored
May 12, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
48068e69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
+6
-6
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
View file @
17710612
...
@@ -756,9 +756,9 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
...
@@ -756,9 +756,9 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
commissionExpected
.
setProductLaunchBizId
(
policy
.
getProductLaunchBizId
());
commissionExpected
.
setProductLaunchBizId
(
policy
.
getProductLaunchBizId
());
commissionExpected
.
setPremium
(
policy
.
getPaymentPremium
());
commissionExpected
.
setPremium
(
policy
.
getPaymentPremium
());
}
else
{
}
else
{
BigDecimal
expectedAmount
=
addDto
.
getAmount
()
//
BigDecimal expectedAmount = addDto.getAmount()
.
multiply
(
addDto
.
getExchangeRate
());
//
.multiply(addDto.getExchangeRate());
commissionExpected
.
setExpectedAmount
(
expectedAmount
);
commissionExpected
.
setExpectedAmount
(
addDto
.
getAmount
()
);
}
}
if
(
StringUtils
.
isBlank
(
addDto
.
getCommissionExpectedBizId
()))
{
if
(
StringUtils
.
isBlank
(
addDto
.
getCommissionExpectedBizId
()))
{
...
@@ -808,9 +808,9 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
...
@@ -808,9 +808,9 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
if
(
StringUtils
.
isBlank
(
request
.
getCurrency
()))
{
if
(
StringUtils
.
isBlank
(
request
.
getCurrency
()))
{
throw
new
BusinessException
(
ResultCode
.
PARAMS_ERROR
.
getCode
(),
"入账币种不能为空"
);
throw
new
BusinessException
(
ResultCode
.
PARAMS_ERROR
.
getCode
(),
"入账币种不能为空"
);
}
}
if
(
request
.
getExchangeRate
()
==
null
)
{
//
if (request.getExchangeRate() == null) {
throw
new
BusinessException
(
ResultCode
.
PARAMS_ERROR
.
getCode
(),
"结算汇率不能为空"
);
//
throw new BusinessException(ResultCode.PARAMS_ERROR.getCode(), "结算汇率不能为空");
}
//
}
if
(
"R"
.
equals
(
request
.
getCommissionBizType
()))
{
if
(
"R"
.
equals
(
request
.
getCommissionBizType
()))
{
if
(
request
.
getCommissionRatio
()
==
null
)
{
if
(
request
.
getCommissionRatio
()
==
null
)
{
throw
new
BusinessException
(
ResultCode
.
PARAMS_ERROR
.
getCode
(),
"关联保单应收单,佣金比例不能为空"
);
throw
new
BusinessException
(
ResultCode
.
PARAMS_ERROR
.
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