'提交代码'

dev-discount
= 4 years ago
parent 1ff1fa6a21
commit a8ec15156f
  1. 7
      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);
}
}
}

Loading…
Cancel
Save