修改话费

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

Loading…
Cancel
Save