|
|
@@ -1268,6 +1268,14 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
throw BusinessRuntimeException.getInstance("续费规格错误");
|
|
|
}
|
|
|
|
|
|
+ //cluade code
|
|
|
+ if (goodsDon.getId() == Constant.CLAUDE_CODE_GOODS_ID) {
|
|
|
+ //天卡规格不可续费
|
|
|
+ if (renewSkuId.intValue() == Constant.DISTRIBUTE_CLAUDE_CODE_TRIAL_SKU_ID.intValue()) {
|
|
|
+ throw BusinessRuntimeException.getInstance("不可续费该规格");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if (GroupsTrips.Status.waiting.equals(groupsTrips.getStatus())) {
|
|
|
if (!noChekGoodsTemp.contains(goodsDon.getTitle())) {
|
|
|
throw new BusinessRuntimeException("亲,该车次还未发车,需等待客服发车才能续费哦.");
|