Parcourir la source

Merge branch 'zx_saas_director_0927' of http://git.dayaedu.com/yonge/mec into test

zouxuan il y a 10 mois
Parent
commit
a16155b536

+ 2 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/TempDirectorTrainingCampDetailServiceImpl.java

@@ -221,7 +221,7 @@ public class TempDirectorTrainingCampDetailServiceImpl extends ServiceImpl<TempD
             money = trainingCamp.getCurrentPrice();
         }
         if(money.compareTo(payDto.getAmount()) != 0){
-            throw new BizException("活动信息变更,请重新下单");
+            return BaseController.failed(HttpStatus.CHECKPOINT, "活动信息变更,请重新下单");
         }
         String channelType = "";
         StudentPaymentOrder studentPaymentOrder = new StudentPaymentOrder();
@@ -315,6 +315,7 @@ public class TempDirectorTrainingCampDetailServiceImpl extends ServiceImpl<TempD
                 campDetail.setPaymentStatus("NO");
                 break;
         }
+        this.updateById(campDetail);
         return true;
     }