Helius
2021-03-04 36d59c12794849c1b6fbbcbd41f97ea2fe71b09c
src/main/java/com/xcong/excoin/modules/coin/service/impl/CoinServiceImpl.java
@@ -47,7 +47,6 @@
import com.xcong.excoin.modules.member.entity.MemberWalletAgentEntity;
import com.xcong.excoin.modules.member.entity.MemberWalletCoinEntity;
import com.xcong.excoin.modules.member.entity.MemberWalletContractEntity;
import com.xcong.excoin.modules.member.vo.MemberCoinChargeVo;
import com.xcong.excoin.modules.platform.dao.PlatformCnyUsdtExchangeDao;
import com.xcong.excoin.utils.CoinTypeConvert;
import com.xcong.excoin.utils.MessageSourceUtils;
@@ -57,6 +56,7 @@
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import jnr.ffi.Struct.int16_t;
@Service
public class CoinServiceImpl extends ServiceImpl<MemberWalletCoinDao, MemberWalletCoinEntity> implements CoinService {
@@ -882,6 +882,8 @@
        String symbolIns = symbolIn+"/USDT";
        ThreadPoolUtils.sendWholeForceClosingPrice(symbolIns, memberEntity);
        
        ThreadPoolUtils.sendWholePrice(memberId);
        //添加币币资金划转历史记录
        MemberAccountMoneyChange memberAccountRecord = new MemberAccountMoneyChange();
        memberAccountRecord.setContent("转出至合约"+symbolIn+"账户");
@@ -944,7 +946,18 @@
                coinInListVo.setSymbol(memberCoinWithdrawEntitys.getSymbol());
                coinInListVo.setAmount(memberCoinWithdrawEntitys.getAmount());
                coinInListVo.setContent("提币");
                coinInListVo.setStatus(memberCoinWithdrawEntitys.getStatus());
                int status = memberCoinWithdrawEntitys.getStatus();
                int statusOut = 0;
                if(status == 1) {
                   statusOut = 0;
                }
                if(status == 2) {
                   statusOut = 1;
                }
                if(status == 3) {
                   statusOut = 2;
                }
                coinInListVo.setStatus(statusOut);
                coinInListVo.setUpdateTime(memberCoinWithdrawEntitys.getUpdateTime());
                coinInListVo.setIsInside(memberCoinWithdrawEntitys.getIsInside());
                arrayList.add(coinInListVo);