|
|
@ -72,9 +72,8 @@ public class HighOrderSchedule { |
|
|
|
if (data.getInteger("status") == 15) { |
|
|
|
if (data.getInteger("status") == 15) { |
|
|
|
highOrder.getHighChildOrderList().get(0).setChildOrdeStatus(3); |
|
|
|
highOrder.getHighChildOrderList().get(0).setChildOrdeStatus(3); |
|
|
|
highOrder.setOrderStatus(3); |
|
|
|
highOrder.setOrderStatus(3); |
|
|
|
highOrder.setRefundTime(new Date()); |
|
|
|
highOrder.setFinishTime(new Date()); |
|
|
|
highOrder.setRefundPrice(data.getBigDecimal("refundAmount")); |
|
|
|
highOrderService.updateOrder(highOrder); |
|
|
|
highOrderService.updateOrderDetail(highOrder); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (data.getInteger("status") == -10 || data.getInteger("status") == -5) { |
|
|
|
if (data.getInteger("status") == -10 || data.getInteger("status") == -5) { |
|
|
|
if(highOrder.getPaySerialNo() != null && highOrder.getPayRealPrice() != null) { |
|
|
|
if(highOrder.getPaySerialNo() != null && highOrder.getPayRealPrice() != null) { |
|
|
@ -84,7 +83,7 @@ public class HighOrderSchedule { |
|
|
|
highOrder.setOrderStatus(4); |
|
|
|
highOrder.setOrderStatus(4); |
|
|
|
highOrder.setRefundTime(new Date()); |
|
|
|
highOrder.setRefundTime(new Date()); |
|
|
|
highOrder.setRefundPrice(highOrder.getPayRealPrice()); |
|
|
|
highOrder.setRefundPrice(highOrder.getPayRealPrice()); |
|
|
|
highOrderService.updateOrderDetail(highOrder); |
|
|
|
highOrderService.updateOrder(highOrder); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|