|
@@ -2719,11 +2719,12 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
}
|
|
|
|
|
|
String key = String.format(RedisKey.SCENE_filter_DATA, param.getNum());
|
|
|
+ redisUtil.del(key);
|
|
|
+
|
|
|
JSONArray filterArr = JSON.parseArray(param.getData());
|
|
|
int filters = CommonStatus.YES.code();
|
|
|
if(CollUtil.isEmpty(filterArr)){
|
|
|
filters = CommonStatus.NO.code();
|
|
|
- redisUtil.del(key);
|
|
|
}else{
|
|
|
List<String> filterList = filterArr.stream().map(item->JSON.toJSONString(item)).collect(Collectors.toList());
|
|
|
redisUtil.lRightPushAll(key, filterList);
|