| | |
| | | <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> |