|
@@ -158,7 +158,7 @@ public class MemberPriceSettingsServiceImpl extends ServiceImpl<MemberPriceSetti
|
|
|
}
|
|
|
}
|
|
|
if (bizPrice !=null && detail.getSalePrice().compareTo(bizPrice) !=0) {
|
|
|
- throw new BizException(998, "产品信息已更新,请重新选择");
|
|
|
+ throw new BizException(999, "产品信息已更新,请重新选择");
|
|
|
|
|
|
}
|
|
|
}
|
|
@@ -412,14 +412,14 @@ public class MemberPriceSettingsServiceImpl extends ServiceImpl<MemberPriceSetti
|
|
|
public void orderCreate(UserPaymentOrderWrapper.OrderGoodsInfo orderGoodsInfo) {
|
|
|
MemberPriceSettingsVo detail = detail(Long.parseLong(orderGoodsInfo.getBizContent().toString()));
|
|
|
if (null == detail) {
|
|
|
- throw new BizException("产品信息已更新,请重新选择");
|
|
|
+ throw new BizException(999,"产品信息已更新,请重新选择");
|
|
|
}
|
|
|
|
|
|
if (!orderGoodsInfo.getGoodType().name().equals(detail.getVipType().name())) {
|
|
|
- throw new BizException("产品信息已更新,请重新选择");
|
|
|
+ throw new BizException(999,"产品信息已更新,请重新选择");
|
|
|
}
|
|
|
if (Boolean.FALSE.equals(detail.getStatus())) {
|
|
|
- throw new BizException("产品信息已更新,请重新选择");
|
|
|
+ throw new BizException(999,"产品信息已更新,请重新选择");
|
|
|
}
|
|
|
|
|
|
|