Helius
2020-12-02 2134646bc453037bbf25df37b4aef96e7236faa4
src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml
@@ -2,7 +2,8 @@
<!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,
@@ -14,7 +15,7 @@
        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
@@ -36,6 +37,9 @@
                <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>