|
|
|
@ -92,6 +92,9 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { |
|
|
|
|
@Autowired |
|
|
|
|
private OutRechargeChildOrderService childOrderService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private SecConfigService secConfigService; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<OutRechargeOrder> getListRechargeOrder(Map<String, Object> map) { |
|
|
|
|
OutRechargeOrderExample example = new OutRechargeOrderExample(); |
|
|
|
@ -989,4 +992,22 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { |
|
|
|
|
|
|
|
|
|
return childOrder; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean rechargeOrderAbnormal(OutRechargeOrder order) { |
|
|
|
|
|
|
|
|
|
HighOrder highOrder = highOrderService.getOrderByOrderNo(order.getOrderNo()); |
|
|
|
|
|
|
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getRechargeContent())) { |
|
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
|
|
order.setRechargeStatus(204); |
|
|
|
|
orderService.updateOrderData(highOrder); |
|
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|