zouxuan 2 年之前
父節點
當前提交
b1fbe85c4b

+ 0 - 3
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentPaymentOrderServiceImpl.java

@@ -971,9 +971,6 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
         if (repeatPay == false && payStatus == PayStatus.PAYING) {
             return BaseController.failed(HttpStatus.CONTINUE, "您有支付中的订单,是否继续支付");
         }
-        /*if (!repeatPay) {
-            return BaseController.failed(HttpStatus.CONTINUE, "您有待支付的订单,是否继续支付");
-        }*/
         //处理关闭订单
         order.setStatus(DealStatusEnum.CLOSE);
         order.setMemo("关闭订单");

+ 1 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -2663,6 +2663,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
             }
             if(groupType == GroupType.VIP){
                 classGroupDao.modifyStudentNum(classGroup.getId(),-1);
+                classGroup = classGroupDao.get(classGroup.getId().intValue());
             }
         }