新版仿ok交易所-后端
1
zj
20 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/admin/controller/future/AdminFuturesParaController.java
@@ -101,7 +101,7 @@
        BigDecimal unitAmount = futuresParaDTO.getUnitAmount();
        BigDecimal unitMaxAmount = futuresParaDTO.getUnitMaxAmount();
        if (unitMaxAmount.compareTo(BigDecimal.ZERO) != 0 && unitMaxAmount.compareTo(unitAmount) < 0) {
            throw new YamiShopBindException("最高购买金额需大于最低购买金额");
            throw new YamiShopBindException("Maximum purchase amount must be greater than minimum purchase amount");
        }
        futuresParaDTO.divide();
        FuturesPara futuresPara = tFuturesParaWrapper.toEntity(futuresParaDTO);