|
|
@@ -72,11 +72,11 @@ public class WithdrawRecordServiceImpl extends AbstractService<WithdrawRecord> i
|
|
|
public void add(WithdrawRecord withdrawRecord) {
|
|
|
saveUseGeneratedKeys(withdrawRecord);
|
|
|
// Account account = accountService.getAccount(withdrawRecord.getUserId(), withdrawRecord.getAccountType());
|
|
|
- // 冻结金额+手续费
|
|
|
+ // 冻结金额
|
|
|
Result freeze = flowService.freeze(FreezdParam.builder()
|
|
|
.userId(withdrawRecord.getUserId())
|
|
|
.accountType(withdrawRecord.getAccountType())
|
|
|
- .amount(withdrawRecord.getAmount().add(withdrawRecord.getFee())).bizType(BizTypeEnum.WITHDRAW.getKey())
|
|
|
+ .amount(withdrawRecord.getAmount()).bizType(BizTypeEnum.WITHDRAW.getKey())
|
|
|
.bizId(withdrawRecord.getId() + "")
|
|
|
.bizNo(withdrawRecord.getOrderNo())
|
|
|
.transTime(withdrawRecord.getTransTime())
|