Helius
2020-07-09 b9c516a82d27cf16ece0a0ce7a3528d4a1b1e207
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>