| | |
| | | private TransactionsMapper transactionsMapper; |
| | | |
| | | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Transactional(rollbackFor = {BusinessException.class,Exception.class}) |
| | | public Refund wxRefund(RefundDTO refundDTO) { |
| | | try { |
| | | // 发送退款请求 |
| | |
| | | refund.setMoney(refundDTO.getRefundAmount()); |
| | | refund.setOnlineOrderid(refNum); |
| | | refund.setPayWay(Constants.ZERO); |
| | | refund.setStatus(Constants.TWO); |
| | | refund.setDoneDate(new Date()); |
| | | refund.setCreator(refundDTO.getCreator()); |
| | | refund.setType(refundDTO.getType()); |
| | | refund.setObjId(refundDTO.getOrderId()); |
| | | refund.setReason(refundDTO.getReason()); |