diff --git a/hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java b/hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java index 0c768f7f..88bdd7ec 100644 --- a/hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java +++ b/hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java @@ -72,9 +72,8 @@ public class HighOrderSchedule { if (data.getInteger("status") == 15) { highOrder.getHighChildOrderList().get(0).setChildOrdeStatus(3); highOrder.setOrderStatus(3); - highOrder.setRefundTime(new Date()); - highOrder.setRefundPrice(data.getBigDecimal("refundAmount")); - highOrderService.updateOrderDetail(highOrder); + highOrder.setFinishTime(new Date()); + highOrderService.updateOrder(highOrder); } if (data.getInteger("status") == -10 || data.getInteger("status") == -5) { if(highOrder.getPaySerialNo() != null && highOrder.getPayRealPrice() != null) { @@ -84,7 +83,7 @@ public class HighOrderSchedule { highOrder.setOrderStatus(4); highOrder.setRefundTime(new Date()); highOrder.setRefundPrice(highOrder.getPayRealPrice()); - highOrderService.updateOrderDetail(highOrder); + highOrderService.updateOrder(highOrder); } } }