Showing
1 changed file
with
1 additions
and
1 deletions
@@ -74,7 +74,7 @@ public class PromotionCondService { | @@ -74,7 +74,7 @@ public class PromotionCondService { | ||
74 | * 获取PromotionCondList,加入缓存中 | 74 | * 获取PromotionCondList,加入缓存中 |
75 | */ | 75 | */ |
76 | public List<PromotionCond> buildPromotionCondList() { | 76 | public List<PromotionCond> buildPromotionCondList() { |
77 | - promotionCondList = new ArrayList<>(); | 77 | + promotionCondList.clear(); |
78 | //去promotionIndex索引查询所有促销数据 | 78 | //去promotionIndex索引查询所有促销数据 |
79 | List<PromotionIndexBO> promotionIndexBOList = searchAllPromotion(); | 79 | List<PromotionIndexBO> promotionIndexBOList = searchAllPromotion(); |
80 | for (PromotionIndexBO promotionIndexBO : promotionIndexBOList) { | 80 | for (PromotionIndexBO promotionIndexBO : promotionIndexBOList) { |
-
Please register or login to post a comment