|
@@ -421,7 +421,7 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
|
}
|
|
}
|
|
if(ObjectUtils.isNotEmpty(listingProductVO.getDisplayPrice())){
|
|
if(ObjectUtils.isNotEmpty(listingProductVO.getDisplayPrice())){
|
|
if (prize.getActivityType().equals("1")){
|
|
if (prize.getActivityType().equals("1")){
|
|
- throw new BackendRuntimeException(ExceptionEnum.EXCEPTION_COUPON_INVALID);
|
|
|
|
|
|
+ throw new BackendRuntimeException(ExceptionEnum.EXCEPTION_COUPON_PRODUCT_ERROR);
|
|
}
|
|
}
|
|
listingProductVO.setDisplayPrice(listingProductVO.getDisplayPrice().subtract(prize.getUsdPrice()));
|
|
listingProductVO.setDisplayPrice(listingProductVO.getDisplayPrice().subtract(prize.getUsdPrice()));
|
|
listingProductVO.setCnyDisplayPrice(listingProductVO.getCnyDisplayPrice().subtract(prize.getCnyPrice()));
|
|
listingProductVO.setCnyDisplayPrice(listingProductVO.getCnyDisplayPrice().subtract(prize.getCnyPrice()));
|