From b806737cd27e047d4dfcdaf7cd064b8f20b1e51d Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 23 Apr 2021 14:45:54 +0800 Subject: [PATCH] modify enhance bug --- src/main/resources/mapper/modules/AgentReturnDao.xml | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/AgentReturnDao.xml b/src/main/resources/mapper/modules/AgentReturnDao.xml index 95f89db..1126df7 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> @@ -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