| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
| | | <mapper namespace="com.xcong.excoin.modules.member.mapper.MemberCoinWithdrawMapper">
|
| | |
|
| | | <select id="findmemberWithdrawCoinListInPage" resultType="com.xcong.excoin.modules.member.vo.MemberCoinWithdrawVo"> SELECT
|
| | | <select id="findmemberWithdrawCoinListInPage" resultType="com.xcong.excoin.modules.member.vo.MemberCoinWithdrawVo">
|
| | | SELECT
|
| | | s.id,
|
| | | s.create_time,
|
| | | m.email,
|
| | |
| | | s.fee_amount,
|
| | | s.symbol,
|
| | | s.status,
|
| | | s.is_inside,
|
| | | case when is_inside = 'N' and EXISTS (select * from td_coin_wallet where address = s.address) then 'J' else s.is_inside end isInside,
|
| | | concat(auth.first_name,auth.second_name) as realName,
|
| | | (select phone from member where id = (select member_id from member_coin_address where address =s.address and symbol =s.symbol and is_biyict=1)) insidePhone
|
| | | FROM
|
| | |
| | | <if test="record.status!=null and record.status!=''">
|
| | | and s.status= #{record.status}
|
| | | </if>
|
| | | <if test="record.address!=null and record.address!=''">
|
| | | and s.address = #{record.address}
|
| | | </if>
|
| | | <if test="record.insidePhone!=null and record.insidePhone!=''">
|
| | | and #{record.insidePhone} in (select phone from member where id = (select member_id from member_coin_address where address =s.address and symbol =s.symbol and is_biyict=1))
|
| | | </if>
|