|
|
|
@ -47,7 +47,8 @@ public class OrderRefundSuccessService { |
|
|
|
|
cinema(orderChild); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , e.getMessage()); |
|
|
|
|
System.out.println("========================================="); |
|
|
|
|
System.out.println(e.getMessage()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -60,18 +61,15 @@ public class OrderRefundSuccessService { |
|
|
|
|
if (orderCinema != null) { |
|
|
|
|
Map<String , Object> map = new HashMap<>(); |
|
|
|
|
map.put("orderNo", childOrder.getOrderNo()); |
|
|
|
|
JSONObject object = CinemaService.refundMovieOrder(map); |
|
|
|
|
System.out.println("========================================="); |
|
|
|
|
System.out.println(object); |
|
|
|
|
CinemaService.refundMovieOrder(map); |
|
|
|
|
orderCinema.setStatus(-5); |
|
|
|
|
orderCinema.setExceptionStatus(false); |
|
|
|
|
bsOrderCinemaService.update(orderCinema); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
orderCinema.setExceptionStatus(true); |
|
|
|
|
orderCinema.setExceptionMsg(e.getMessage()); |
|
|
|
|
} finally { |
|
|
|
|
bsOrderCinemaService.update(orderCinema); |
|
|
|
|
throw ErrorHelp.genException(SysCode.System , ErrorCode.COMMON_ERROR , e.getMessage()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|