修改话费

new-dev
袁野 1 year ago
parent ea633defe2
commit aa41b9197e
  1. 2
      hai-bweb/src/main/java/com/bweb/controller/HighTestController.java
  2. 19
      hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java

File diff suppressed because one or more lines are too long

@ -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;

Loading…
Cancel
Save