| | |
| | | userWithdraw.setWithName(user.getRealName()); |
| | | userWithdraw.setBankNo(userBank.getBankNo()); |
| | | userWithdraw.setBankName(userBank.getBankName()); |
| | | userWithdraw.setBankAddress(userBank.getBankAddress()); |
| | | userWithdraw.setBankAddress(userBank.getBranchName()); |
| | | userWithdraw.setBranchNo(userBank.getBranchNo()); |
| | | userWithdraw.setWithStatus(Integer.valueOf(0)); |
| | | BigDecimal withfee = siteSetting.getWithFeePercent().multiply(new BigDecimal(amt)).add(new BigDecimal(siteSetting.getWithFeeSingle().intValue())); |
| | | userWithdraw.setWithFee(withfee); |
| | | log.info(userWithdraw.toString()); |
| | | int insertCount = this.userWithdrawMapper.insert(userWithdraw); |
| | | if (insertCount > 0) { |
| | | return ServerResponse.createBySuccessMsg("提现成功",request); |