优化促销更新
This commit is contained in:
parent
c3221a6fff
commit
b6db829b04
@ -224,7 +224,7 @@ public abstract class AbstractPromotionsServiceImpl<M extends BaseMapper<T>, T e
|
||||
this.promotionGoodsService.deletePromotionGoods(Collections.singletonList(promotions.getId()));
|
||||
return true;
|
||||
}
|
||||
boolean result = false;
|
||||
boolean result = true;
|
||||
if (CharSequenceUtil.equalsAny(promotions.getScopeType(), PromotionsScopeTypeEnum.ALL.name(), PromotionsScopeTypeEnum.PORTION_GOODS_CATEGORY.name())) {
|
||||
PromotionGoods promotionGoods = new PromotionGoods();
|
||||
promotionGoods.setScopeId(promotions.getScopeId());
|
||||
|
Loading…
x
Reference in New Issue
Block a user