|
|
@ -1001,11 +1001,13 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { |
|
|
|
return childOrder; |
|
|
|
return childOrder; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean rechargeOrderAbnormal(OutRechargeOrder order) { |
|
|
|
public boolean rechargeOrderAbnormal(OutRechargeOrder order) { |
|
|
|
|
|
|
|
|
|
|
|
HighOrder highOrder = highOrderService.getOrderByOrderNo(order.getOrderNo()); |
|
|
|
HighOrder highOrder = highOrderService.getOrderByOrderNo(order.getOrderNo()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getRechargeContent())) { |
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getRechargeContent())) { |
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
@ -1014,13 +1016,16 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getLaborUnionCard())) { |
|
|
|
if (highOrder.getPayType() == 4) { |
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
|
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getLaborUnionCard())) { |
|
|
|
order.setRechargeStatus(204); |
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
orderService.updateOrderData(highOrder); |
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
order.setRechargeStatus(204); |
|
|
|
return true; |
|
|
|
orderService.updateOrderData(highOrder); |
|
|
|
|
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|