|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.hai.schedule; |
|
|
|
package com.hai.schedule; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.hai.entity.HighChildOrder; |
|
|
|
import com.hai.entity.OutRechargeChildOrder; |
|
|
|
import com.hai.entity.OutRechargeChildOrder; |
|
|
|
import com.hai.entity.OutRechargeOrder; |
|
|
|
import com.hai.entity.OutRechargeOrder; |
|
|
|
import com.hai.service.OutRechargeChildOrderService; |
|
|
|
import com.hai.service.OutRechargeChildOrderService; |
|
|
@ -116,6 +117,11 @@ public class HighRechargeOrderSchedule { |
|
|
|
if (orderList != null && orderList.size() > 0) { |
|
|
|
if (orderList != null && orderList.size() > 0) { |
|
|
|
for (OutRechargeOrder order : orderList) { |
|
|
|
for (OutRechargeOrder order : orderList) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OutRechargeChildOrder childOrder = rechargeChildOrderService.findByOrderId(order.getId()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
outRechargeOrderService.refundOrder(order.getId() , childOrder); |
|
|
|
|
|
|
|
|
|
|
|
outRechargeOrderService.rechargeOrderToRefund(order.getId()); |
|
|
|
outRechargeOrderService.rechargeOrderToRefund(order.getId()); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("HighCouponSchedule --> expiredCoupon() error!", e); |
|
|
|
log.error("HighCouponSchedule --> expiredCoupon() error!", e); |
|
|
|