Authored by tanling

Merge branch 'test6.9.12' of http://git.yoho.cn/ufo/yohoufo-fore into test6.9.12

... ... @@ -2017,9 +2017,9 @@ public class ProductServiceImpl implements ProductService {
Map<String, List<GoodsBO>> tabs = new HashMap<>();
tabs.put("goods_list", Arrays.asList(goodsBO));
tabs.put("pre_sale_goods_list", Arrays.asList(preSaleGoodsBO));
tabs.put("seconds_goods_list", Arrays.asList(goodsBO));
tabs.put("seconds_goods_list", Arrays.asList(secondsGoodsBO));
product_info.setGoodsListTabs(tabs);
product_info.setGoodsList(null);
allGoodsBO.setSizeList(allSizeList);
}
}
... ... @@ -2124,9 +2124,9 @@ public class ProductServiceImpl implements ProductService {
}
return sp2;
}
private boolean notAllNull(Object... obj) {
for (Object o : obj) {
if (o != null) {
private boolean notAllNull(Integer... numbers) {
for (Integer n : numbers) {
if (n != null && n > 0) {
return true;
}
}
... ...