|
|
@ -1007,6 +1007,7 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { |
|
|
|
|
|
|
|
|
|
|
|
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("当前订单存在以前多充值!"); |
|
|
@ -1015,14 +1016,16 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (highOrder.getPayType() == 4) { |
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getLaborUnionCard())) { |
|
|
|
|
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
if (secConfigService.isConfig("RECHARGE_ORDER" , order.getLaborUnionCard())) { |
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
|
highOrder.setExceptionStatus(true); |
|
|
|
order.setRechargeStatus(204); |
|
|
|
highOrder.setExceptionContent("当前订单存在以前多充值!"); |
|
|
|
orderService.updateOrderData(highOrder); |
|
|
|
order.setRechargeStatus(204); |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
orderService.updateOrderData(highOrder); |
|
|
|
return true; |
|
|
|
outRechargeOrderMapper.updateByPrimaryKey(order); |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
return false; |
|
|
|