From 894ddcb032b3f5fac10361ae7341fec158f8b6e2 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 11 Dec 2025 16:40:47 +0800
Subject: [PATCH] fix(coin): 移除钱包代码设置中的EOS重复添加逻辑

---
 src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java b/src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java
index 27e8242..3b2a2cd 100644
--- a/src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java
@@ -137,8 +137,6 @@
             memberWalletCoinlist.add(coin);
             coin.setWalletCode(CoinTypeEnum.USDT.toString());
             memberWalletCoinlist.add(coin);
-            coin.setWalletCode(CoinTypeEnum.EOS.toString());
-            memberWalletCoinlist.add(coin);
             coin.setWalletCode(CoinTypeEnum.XRP.toString());
             memberWalletCoinlist.add(coin);
             coin.setWalletCode(CoinTypeEnum.ETC.toString());
@@ -186,11 +184,10 @@
         Long memberId = LoginUserUtils.getAppLoginUser().getId();
         PlatformCnyUsdtExchangeEntity cnyUsdtExchange = cnyUsdtExchangeDao.getCNYAndUSDTOne();
         BigDecimal cnyUsdt = cnyUsdtExchange.getValue();
+        
         Map<String, Object> columnMap = new HashMap<String, Object>();
         columnMap.put("member_id", memberId);
-        
-        Map<String, Object> map = new HashMap<String, Object>();
-        map.put("wallet_code", "USDT");
+        columnMap.put("wallet_code", "USDT");
 		List<MemberWalletContractEntity> selectByMap = memberWalletContractDao.selectByMap(columnMap);
 		MemberWalletContractInfoVo memberWalletContractInfoVo = new MemberWalletContractInfoVo();
 		if(CollUtil.isNotEmpty(selectByMap)) {

--
Gitblit v1.9.1