| | |
| | | /** |
| | | * 用户Party表里可提现金额参数 -----可为负数 |
| | | */ |
| | | double party_withdraw = party.getWithdrawLimitAmount().doubleValue(); |
| | | // double party_withdraw = party.getWithdrawLimitAmount().doubleValue(); |
| | | /** |
| | | * usdt剩余余额 |
| | | */ |
| | |
| | | } |
| | | } |
| | | } |
| | | 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)) { |
| | | /** |