Authored by iknitting

判断

... ... @@ -179,6 +179,9 @@ public class CsSearchResourceService {
}
// 过滤掉无库存、下架的
filterProductList(sknReturnInfoList);
if (CollectionUtils.isEmpty(sknReturnInfoList)) {
return;
}
// 构造skn map
Map<Integer, Map<String, Object>> sknReturnInfoMap = buildSknReturnInfoMap(sknReturnInfoList);
// 构建最终的主体精选resource
... ...