From 6e9ad8000f1ba87bec0e745a905fa6593d9c89c8 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 09 Jul 2020 20:56:53 +0800
Subject: [PATCH] modify

---
 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 95f89db..bb1fdfe 100644
--- a/src/main/resources/mapper/modules/AgentReturnDao.xml
+++ b/src/main/resources/mapper/modules/AgentReturnDao.xml
@@ -5,10 +5,12 @@
     <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
-        from kss_framework.agent_return a
+        from agent_return a
         left join member_authentication b on a.member_id=b.member_id
         inner join member c on a.member_id=c.id
         <where>

--
Gitblit v1.9.1