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
98162b2f
Commit
98162b2f
authored
May 15, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
6eee45a9
eb099f64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
+7
-0
yd-csf-service/src/main/resources/mappers/ExpectedFortuneMapper.xml
+2
-2
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
View file @
98162b2f
...
...
@@ -777,6 +777,10 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
fortune
.
setHkdAmount
(
hkdAmount
);
fortune
.
setCurrentPaymentAmount
(
hkdAmount
);
fortune
.
setCurrentPaymentHkdAmount
(
hkdAmount
);
// 默认发放币种、汇率、发放币种金额
fortune
.
setPayoutCurrency
(
"HKD"
);
fortune
.
setHkdToPayoutRate
(
BigDecimal
.
ONE
);
fortune
.
setPayoutAmount
(
hkdAmount
);
// 更新预计发佣记录的港币金额
ExpectedFortune
update
=
new
ExpectedFortune
();
...
...
@@ -785,6 +789,9 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
update
.
setOriginalToHkdRate
(
exchangeRate
);
update
.
setHkdAmount
(
hkdAmount
);
update
.
setUnpaidAmount
(
hkdAmount
);
update
.
setPayoutCurrency
(
"HKD"
);
update
.
setHkdToPayoutRate
(
BigDecimal
.
ONE
);
update
.
setPayoutAmount
(
hkdAmount
);
updatedExpectedFortuneList
.
add
(
update
);
}
else
{
fortune
.
setExchangeRate
(
expectedFortune
.
getDefaultExchangeRate
());
...
...
yd-csf-service/src/main/resources/mappers/ExpectedFortuneMapper.xml
View file @
98162b2f
...
...
@@ -177,7 +177,7 @@
ef.payout_amount,
ef.hkd_to_payout_rate,
ef.hkd_amount,
ef.
current_payment
_amount as current_payment_hkd_amount,
ef.
hkd
_amount as current_payment_hkd_amount,
ef.default_exchange_rate as exchange_rate,
ef.paid_amount,
ef.unpaid_amount,
...
...
@@ -239,7 +239,7 @@
f.payout_amount,
f.hkd_to_payout_rate,
f.hkd_amount,
f.current_payment_amount,
f.current_payment_
hkd_
amount,
f.exchange_rate,
IF(f.status = 2, f.hkd_amount, 0) as paid_amount,
IF(f.status != 2 and f.status != 5, f.hkd_amount, 0) as unpaid_amount,
...
...
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