From 92fb3070e7b46a1afd7e6b038f45a9fb37d0eaa3 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 23 Apr 2021 16:20:45 +0800
Subject: [PATCH] 20210423
---
src/main/resources/mapper/modules/AgentReturnDao.xml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/AgentReturnDao.xml b/src/main/resources/mapper/modules/AgentReturnDao.xml
index dc73fa4..1126df7 100644
--- a/src/main/resources/mapper/modules/AgentReturnDao.xml
+++ b/src/main/resources/mapper/modules/AgentReturnDao.xml
@@ -5,6 +5,8 @@
<select id="selectAgentReturnList" resultType="com.xcong.excoin.modules.contract.entity.AgentReturnEntity">
select
CONCAT(b.first_name, b.second_name) account,
+ a.closing_fee_amount*(select fee_spread_ratio from platform_trade_setting) closing_fee_amount,
+ a.opening_fee_amount*(select fee_spread_ratio from platform_trade_setting) opening_fee_amount,
a.*,
c.phone,
c.email
@@ -31,6 +33,6 @@
and (c.phone=#{record.account} or c.email=#{record.account} or c.invite_id=#{record.account})
</if>
</where>
- order by order_no, referer_id asc
+ order by create_time desc
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1