| | |
| | | wrapper.eq(OrderAuctionBond::getAuctionSalesroomId, orderAuctionBondDTO.getAuctionSalesroomId()); |
| | | List<OrderAuctionBond> orderAuctionBondList = iOrderAuctionBondService.list(wrapper); |
| | | for (OrderAuctionBond orderAuctionBond : orderAuctionBondList) { |
| | | |
| | | LambdaQueryWrapper<Paylog> wrapper1 = Wrappers.lambdaQuery(); |
| | | wrapper1.notIn(Paylog::getOutTradeNo, orderAuctionBond.getOrderNo()); |
| | | wrapper1.eq(Paylog::getOutTradeNo, orderAuctionBond.getOrderNo()); |
| | | wrapper1.last("limit 1"); |
| | | Paylog paylog = iPaylogService.getOne(wrapper1); |
| | | |
| | | if (paylog.getPayType() == 1) {//支付宝 |
| | | boolean bo = paylogServiceImpl.refundForAlipay(paylog.getOutTradeNo(), paylog.getTradeNo(), orderAuctionBond.getBond().doubleValue()); |
| | | if (!bo) { |