修改优惠券包赠送问题

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

File diff suppressed because one or more lines are too long

@ -1016,6 +1016,15 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService {
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;
}
return false;
}
}

Loading…
Cancel
Save