|
@@ -1854,7 +1854,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
if (scenePlus == null)
|
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_5005);
|
|
|
|
|
|
- List<String> idList = param.getIdList();
|
|
|
+ List<String> idList = param.getSidList();
|
|
|
|
|
|
this.syncLinkPanStylesFromFileToRedis(param.getNum());
|
|
|
|
|
@@ -2073,7 +2073,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
|
|
|
Map<String, String> styleMap = new HashMap<>();
|
|
|
styles.stream().forEach(style->{
|
|
|
- String id = style.getString("id");
|
|
|
+ String id = style.getString("sid");
|
|
|
styleMap.put(id, style.toJSONString());
|
|
|
});
|
|
|
|
|
@@ -2118,7 +2118,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
|
|
|
Map<String, String> styleMap = new HashMap<>();
|
|
|
for (Object style : stylesArr) {
|
|
|
JSONObject styleObj = (JSONObject)style;
|
|
|
- String id = styleObj.getString("id");
|
|
|
+ String id = styleObj.getString("sid");
|
|
|
styleMap.put(id, styleObj.toJSONString());
|
|
|
}
|
|
|
redisUtil.hmset(key, styleMap);
|