|
@@ -44,6 +44,9 @@ public class PromotionsServiceImpl implements PromotionsService {
|
|
|
for (int i = 0; i < promotionsList.size(); i++) {
|
|
|
str[i] = promotionsList.get(i).getPromotionsId();
|
|
|
}
|
|
|
+ if(str == null || str.length == 0){
|
|
|
+ return promotions;
|
|
|
+ }
|
|
|
//获取当前活动的所有满赠
|
|
|
List<SettlementGift> settlementGiftList = settlementGiftService.getSettlementGiftListAll(str);
|
|
|
promotions.setSettlementGiftList(settlementGiftList);
|