From 1047866e4e73890bf64c9b35f1a7043b543d64fe Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Sun, 15 Nov 2020 11:07:48 +0800
Subject: [PATCH] 交易所到算力内部

---
 src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml
index 4692c5e..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

--
Gitblit v1.9.1