From a7b10c7fb28552e71e980d97a6b23c21cbcb212a Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 28 May 2021 14:37:47 +0800
Subject: [PATCH] 20210528
---
src/main/resources/mapper/platform/PlatformSymbolsCoinDao.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/platform/PlatformSymbolsCoinDao.xml b/src/main/resources/mapper/platform/PlatformSymbolsCoinDao.xml
index dc1328b..b1876db 100644
--- a/src/main/resources/mapper/platform/PlatformSymbolsCoinDao.xml
+++ b/src/main/resources/mapper/platform/PlatformSymbolsCoinDao.xml
@@ -11,9 +11,18 @@
platform_symbols_coin a
LEFT JOIN member_coin_address b ON a.id = b.symbolscoin_id
AND member_id = #{memberId}
+ where a.name in ('USDT', 'XCH')
GROUP BY
a.id,
a. NAME
</select>
+
+ <select id="selectOneBySymbol" resultType="com.xcong.excoin.modules.platform.entity.PlatformSymbolsCoinEntity">
+ SELECT
+ *
+ FROM
+ platform_symbols_coin a
+ where a.name = #{symbol}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1