From 2134646bc453037bbf25df37b4aef96e7236faa4 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 02 Dec 2020 17:48:57 +0800 Subject: [PATCH] Merge branch 'outcenter-bak' of https://gitee.com/chonggaoxiao/new_excoin_manage into outcenter-bak --- src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml index 9bb9fcd..9002b09 100644 --- a/src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml +++ b/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> -- Gitblit v1.9.1