|
@@ -82,15 +82,13 @@ public class ProductSpuServiceImpl implements ProductSpuService {
|
|
|
spu.setShopId(userShopDetails.getShopId());
|
|
|
spu.setMerchantId(userShopDetails.getMerId());
|
|
|
|
|
|
+ //最大推广费, 单位: 分
|
|
|
+ Integer maxPromotionFee = 0;
|
|
|
+
|
|
|
for (ProductSkuSaveReqVO productSkuSaveReqVO : skuSaveReqList) {
|
|
|
productSkuSaveReqVO.setShopId(userShopDetails.getShopId());
|
|
|
productSkuSaveReqVO.setMerchantId(userShopDetails.getMerId());
|
|
|
- }
|
|
|
|
|
|
- //最大推广费, 单位: 分 add by Ben
|
|
|
- Integer maxPromotionFee = 0;
|
|
|
-
|
|
|
- for (ProductSkuSaveReqVO productSkuSaveReqVO : skuSaveReqList) {
|
|
|
Integer skuPromotionFee = productSkuSaveReqVO.getPromotionFee();
|
|
|
if(skuPromotionFee>maxPromotionFee)
|
|
|
maxPromotionFee=skuPromotionFee;
|