diff --git a/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java b/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java index 65a11fd..f99180b 100644 --- a/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java +++ b/src/main/java/com/yn/bftl/thirdparty/modules/chinaums/service/impl/WalletServiceImpl.java @@ -751,6 +751,7 @@ // } // } // return chinaumsUtil.execute(RouteUtil.ROUTE_WALLET_WITHDRAWALS, (JSONObject) JSONObject.toJSON(withdrawalsDTO), WithdrawalsVO.class); + log.error("withdrawalsDTO:{}",withdrawalsDTO); WithdrawalsVO withdrawalsVO = new WithdrawalsVO(); Company company = getUser().getCompany(); @@ -783,6 +784,7 @@ byxAsyncWithdrawDTO.setEncryptPwd(withdrawalsDTO.getPassword()); byxTradeWayService.setTradeWayByBPass(byxAsyncWithdrawDTO); + log.error("byxAsyncWithdrawDTO:{}",byxAsyncWithdrawDTO); ByxAsyncWithdrawVO byxAsyncWithdrawVO = byxChinaumsUtil.execute(ByxRouteUtil.ROUTE_WALLET_WITHDRAWALS, (JSONObject) JSONObject.toJSON(byxAsyncWithdrawDTO), ByxAsyncWithdrawVO.class); // 20000:表示处理中。 通过调用查询交易结果查询最终交易状态。 if("20000".equals(byxAsyncWithdrawVO.getRspCode())){ @@ -1600,7 +1602,7 @@ .withZone(ZoneId.of("Asia/Shanghai")); // 可查90个自然日的交易,单次查询开始和结束时间间隔不大于7天 LocalDateTime dateTime = LocalDateTime.now().minusDays(1L); - BalanceTransactionsPageVO balanceTransactionsPageVO = this.balanceTransactions(company.getWalletId(),externalIncomeDTO.getTradeId(), dateTimeFormatter.format(dateTime), dateTimeFormatter.format(LocalDateTime.now().minusHours(-1))); + BalanceTransactionsPageVO balanceTransactionsPageVO = this.balanceTransactions(company.getWalletId(),externalIncomeDTO.getTradeId(), dateTimeFormatter.format(dateTime), dateTimeFormatter.format(LocalDateTime.now())); if (balanceTransactionsPageVO.getTotal() <= 0) { log.warn("未查询到流水记录!!!"); return false; @@ -2484,7 +2486,7 @@ .withZone(ZoneId.of("Asia/Shanghai")); // 可查90个自然日的交易,单次查询开始和结束时间间隔不大于7天 LocalDateTime dateTime = LocalDateTime.now().minusDays(1L); - BalanceTransactionsPageVO balanceTransactionsPageVO = this.balanceTransactions(company.getWalletId(),externalIncomeDTO.getTradeId(), dateTimeFormatter.format(dateTime), dateTimeFormatter.format(LocalDateTime.now().minusHours(-1))); + BalanceTransactionsPageVO balanceTransactionsPageVO = this.balanceTransactions(company.getWalletId(),externalIncomeDTO.getTradeId(), dateTimeFormatter.format(dateTime), dateTimeFormatter.format(LocalDateTime.now())); if (balanceTransactionsPageVO ==null || balanceTransactionsPageVO.getTotal() <= 0) { log.warn("未查询到流水记录!!!");