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
b56106ca
Commit
b56106ca
authored
Jan 12, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端对接问题修复111
parent
d9882707
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
yd-csf-service/src/main/resources/mappers/ExpectedFortuneMapper.xml
+8
-8
No files found.
yd-csf-service/src/main/resources/mappers/ExpectedFortuneMapper.xml
View file @
b56106ca
...
...
@@ -110,17 +110,17 @@
p.product_name as productName,
ef.fortune_period as fortunePeriod,
ef.fortune_total_period as fortuneTotalPeriod,
ifnull(
sum(ef.amount)
, 0) as amount,
ifnull(
sum(ef.hkd_amount)
, 0) as hkdAmount,
ifnull(
ef.amount
, 0) as amount,
ifnull(
ef.hkd_amount
, 0) as hkdAmount,
ef.currency as currency,
ifnull(
sum(ef.paid_amount)
, 0) as paidAmount,
ifnull(
sum(ef.unpaid_amount)
, 0) as unpaidAmount,
case when ifnull(
sum(ef.hkd_amount)
, 0) > 0
then round(ifnull(
sum(ef.paid_amount), 0) / ifnull(sum(ef.hkd_amount)
, 0) * 100, 2)
ifnull(
ef.paid_amount
, 0) as paidAmount,
ifnull(
ef.unpaid_amount
, 0) as unpaidAmount,
case when ifnull(
ef.hkd_amount
, 0) > 0
then round(ifnull(
ef.paid_amount, 0) / ifnull(ef.hkd_amount
, 0) * 100, 2)
else 0
end as paidRatio,
case when ifnull(
sum(ef.hkd_amount)
, 0) > 0
then round(ifnull(
sum(ef.unpaid_amount), 0) / ifnull(sum(ef.hkd_amount)
, 0) * 100, 2)
case when ifnull(
ef.hkd_amount
, 0) > 0
then round(ifnull(
ef.unpaid_amount, 0) / ifnull(ef.hkd_amount
, 0) * 100, 2)
else 0
end as unpaidRatio,
ef.broker as broker,
...
...
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