Authored by Lixiaodi

处理不存在的分类

... ... @@ -488,6 +488,8 @@ public class ProductSearchServiceImpl implements ProductSearchService {
@Override
public SortIdLevel getSortLevelById(String sortId) {
SortIdLevel sortIdLevel = new SortIdLevel();
sortIdLevel.setMidSortId("-1");
sortIdLevel.setMaxSortId("-1");
if (StringUtils.isNotBlank(sortId)) {
List<Integer> sortIdList = UfoStringUtils.string2IntegerList(sortId);
if (!CollectionUtils.isEmpty(sortIdList)) {
... ...