新版仿ok交易所-后端
zyy
2026-05-22 dc6abd25de0fc12e7a9de54f628f970c8fdc5910
trading-order-service/src/main/java/com/yami/trading/service/miner/service/impl/MinerOrderServiceImpl.java
@@ -167,7 +167,7 @@
         if (null == realtimes || realtimes.size() <= 0) {
            throw new BusinessException("行情获取异常,稍后再试");
         }
         close = realtimes.get(0).getClose();
         close = realtimes.get(0).getClose().doubleValue();
         saveMinerBuyOtherCoin(entity, buyCurrency);
      }
@@ -330,7 +330,7 @@
         if (CollectionUtils.isEmpty(realtimes) || null == realtimes.get(0)) {
            throw new BusinessException("系统错误,请稍后重试 saveCreate");
         }
         close = realtimes.get(0).getClose();
         close = realtimes.get(0).getClose().doubleValue();
         saveMinerBuyOtherCoin(entity, minerBuySymbol);
      } else {
@@ -678,7 +678,7 @@
         if (null == realtimes || realtimes.size() <= 0) {
            throw new BusinessException("行情获取异常,稍后再试");
         }
         close = realtimes.get(0).getClose();
         close = realtimes.get(0).getClose().doubleValue();
         saveMinerCloseOtherCoin(entity, buyCurrency);
      }
@@ -742,7 +742,7 @@
         if (CollectionUtils.isEmpty(realtimes) || null == realtimes.get(0)) {
            throw new BusinessException("系统错误,请稍后重试 saveClose");
         }
         close = realtimes.get(0).getClose();
         close = realtimes.get(0).getClose().doubleValue();
         saveMinerCloseOtherCoin(entity, minerBuySymbol);
      } else if (entity.getAmount() != 0) {// 体验矿机,购买价为0