Commit b7b13246 by 陶光胜

观云台小程序

parent 184a3f22
...@@ -255,8 +255,9 @@ public class StoreSearchUtils { ...@@ -255,8 +255,9 @@ public class StoreSearchUtils {
} }
} }
} else { } else {
if(CollectionUtils.isNotEmpty(onlineStoreAuth.getList())){
onlineStoreAuth.getList().stream().forEach(s -> { onlineStoreAuth.getList().stream().forEach(s -> {
if(s.getChannel().intValue() == channel.intValue()){ if(s.getChannel() != null && s.getChannel().intValue() == channel.intValue()){
if(CollectionUtils.isNotEmpty(s.getStoreIdList())){ if(CollectionUtils.isNotEmpty(s.getStoreIdList())){
RedisUtil.setCache(key, 1, 10l, TimeUnit.MINUTES); RedisUtil.setCache(key, 1, 10l, TimeUnit.MINUTES);
list.addAll(s.getStoreIdList()); list.addAll(s.getStoreIdList());
...@@ -265,5 +266,6 @@ public class StoreSearchUtils { ...@@ -265,5 +266,6 @@ public class StoreSearchUtils {
}); });
} }
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment