diff --git a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/WithdrawApplicationServiceImpl.java b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/WithdrawApplicationServiceImpl.java index e5734e1f7..f8b27fb4f 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/WithdrawApplicationServiceImpl.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/WithdrawApplicationServiceImpl.java @@ -113,11 +113,7 @@ public class WithdrawApplicationServiceImpl implements WithdrawApplicationServic request.setAmount(withdrawApplicationDO.getAmount().toPlainString()); request.setReqNo(withdrawApplicationDO.getWithdrawNo()); request.setWalletType(WalletTypeEnum.ONLINE_BANK.getType()); - //AccountWithdrawerDTO accountWithdrawerDTO = walletApiService.accountWithdrawer(request); - AccountWithdrawerDTO accountWithdrawerDTO = new AccountWithdrawerDTO(); - accountWithdrawerDTO.setTradeId(11222L); - accountWithdrawerDTO.setAmount("100"); - accountWithdrawerDTO.setTradeStatus(1); + AccountWithdrawerDTO accountWithdrawerDTO = walletApiService.accountWithdrawer(request); withdrawApplicationDO.setStatus(accountWithdrawerDTO.getTradeStatus()); withdrawApplicationDAO.update(withdrawApplicationDO);