| | |
| | | one1.setPaymentMethod(PaymentMethodEnum.WECHAT); |
| | | orderAuctionBondMapper.updateById(one1); |
| | | |
| | | if (one1.getBond().compareTo(new BigDecimal(0))==0){ |
| | | |
| | | if (one1.getBond()==null||one1.getBond().compareTo(new BigDecimal(0))==0){ |
| | | one1.setBoundStatus(BondStatusEnum.PAID); |
| | | Map<String, Object> returnMap = new HashMap<>(); |
| | | returnMap.put("Type",1); |
| | |
| | | page1.setOrderStatus(OrderStatusEnum.TO_BE_SHIPPED); |
| | | page1.setPaymentMethod(PaymentMethodEnum.WECHAT); |
| | | page1.setPayTime(LocalDateTime.now()); |
| | | OrderMapper.updateById(page1); |
| | | if (page1.getTotalAmount().compareTo(new BigDecimal(0))==0){ |
| | | Map<String, Object> returnMap = new HashMap<>(); |
| | | returnMap.put("Type",1); |
| | | return R.ok(returnMap); |
| | | } |
| | | |
| | | |
| | | if(page1.getOrderNo().contains("SP")){ |
| | |
| | | return m.matches(); |
| | | } |
| | | |
| | | /** |
| | | * @param refundDTOS 退款数据传输对象 |
| | | * @return Map<String, Object> key :orderNo value 退款结果 |
| | | */ |
| | | @Override |
| | | public Map<String, Object> refund(List<RefundDTO> refundDTOS) { |
| | | Map<String, Object> map = new HashMap<>(); |