判断集合中是否存在"字符串",返回boolean类型
boolean isExit = allSku.stream().map(Product::getFeatureList) .anyMatch(featureList -> isNotEmpty(featureList) && featureList.contains("滞销"));
判断集合中是否存在"字符串",返回boolean类型
boolean isExit = allSku.stream().map(Product::getFeatureList) .anyMatch(featureList -> isNotEmpty(featureList) && featureList.contains("滞销"));