zyy
2025-11-18 e69a147f81c790a805558a2e93b34364852d7dea
trading-order-service/src/main/java/com/yami/trading/service/impl/UserServiceImpl.java
@@ -187,16 +187,16 @@
    @Override
    public void saveResetCreateOrder(String partyId, double money_revise, String safeword, String operator_name, String reset_type, String ip, String coin_type) {
        if (money_revise == 0 || coin_type == "") {
        if (money_revise == 0 || coin_type.equalsIgnoreCase("")) {
            return;
        }
        if ("usdt".equals(coin_type) || "eur".equals(coin_type)) {
        if ("usdt".equalsIgnoreCase(coin_type) || "eur".equalsIgnoreCase(coin_type) || "gbp".equalsIgnoreCase(coin_type)) {
            // 交易所修改usdt
            //到账金额
            double toAmt = money_revise;
            if (coin_type.equals("eur")) {
                ExchangeRate exchangeRate = exchangeRateService.findBy(ExchangeRate.IN, "EUR");
            if (!coin_type.equalsIgnoreCase("usdt")) {
                ExchangeRate exchangeRate = exchangeRateService.findBy(ExchangeRate.IN, coin_type.toUpperCase());
                if (exchangeRate == null) {
                    throw new YamiShopBindException("汇率未设置!");
                }