Commit b7b13246 by 陶光胜

观云台小程序

parent 184a3f22
...@@ -255,14 +255,16 @@ public class StoreSearchUtils { ...@@ -255,14 +255,16 @@ public class StoreSearchUtils {
} }
} }
} else { } else {
onlineStoreAuth.getList().stream().forEach(s -> { if(CollectionUtils.isNotEmpty(onlineStoreAuth.getList())){
if(s.getChannel().intValue() == channel.intValue()){ onlineStoreAuth.getList().stream().forEach(s -> {
if(CollectionUtils.isNotEmpty(s.getStoreIdList())){ if(s.getChannel() != null && s.getChannel().intValue() == channel.intValue()){
RedisUtil.setCache(key, 1, 10l, TimeUnit.MINUTES); if(CollectionUtils.isNotEmpty(s.getStoreIdList())){
list.addAll(s.getStoreIdList()); RedisUtil.setCache(key, 1, 10l, TimeUnit.MINUTES);
list.addAll(s.getStoreIdList());
}
} }
} });
}); }
} }
} }
......
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