新版仿ok交易所-后端
1
zj
2025-08-10 8c62c4f079fccdcce584a458a7b9741edbe34721
trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java
@@ -577,7 +577,7 @@
                /**
                 * 用户Party表里可提现金额参数 -----可为负数
                 */
                double party_withdraw = party.getWithdrawLimitAmount().doubleValue();
//                double party_withdraw = party.getWithdrawLimitAmount().doubleValue();
                /**
                 * usdt剩余余额
                 */
@@ -612,15 +612,15 @@
                        }
                    }
                }
                double withdraw_limit_turnover_percent = Double
                        .valueOf(sysparaService.find("withdraw_limit_turnover_percent").getSvalue());
                party_withdraw = Arith.mul(party_withdraw, withdraw_limit_turnover_percent);
                // 流水小于限额
                if (userdata_turnover < party_withdraw) {
                    fact_withdraw_amount = Arith.sub(party_withdraw, userdata_turnover);
                    throw new YamiShopBindException(fact_withdraw_amount + "");
//               throw new BusinessException(1, "当前还需交易" + fact_withdraw_amount + ",才可提币");
                }
//                double withdraw_limit_turnover_percent = Double
//                        .valueOf(sysparaService.find("withdraw_limit_turnover_percent").getSvalue());
//                party_withdraw = Arith.mul(party_withdraw, withdraw_limit_turnover_percent);
//                // 流水小于限额
//                if (userdata_turnover < party_withdraw) {
//                    fact_withdraw_amount = Arith.sub(party_withdraw, userdata_turnover);
//                    throw new YamiShopBindException(fact_withdraw_amount + "");
////               throw new BusinessException(1, "当前还需交易" + fact_withdraw_amount + ",才可提币");
//                }
            }
            if ("2".equals(withdraw_limit_open_use_type)) {
                /**