Commit b7b13246 by 陶光胜

观云台小程序

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