修改服务指令树动画字段返回格式

This commit is contained in:
1378012178@qq.com 2026-01-22 09:52:18 +08:00
parent edb7c7c9ae
commit a47bd86dec
1 changed files with 6 additions and 5 deletions

View File

@ -123,7 +123,7 @@ public class BizConfigServiceCategoryServiceImpl extends ServiceImpl<BizConfigSe
// wllxMap.put("parentId", par.getCategoryId()); // wllxMap.put("parentId", par.getCategoryId());
// wllxMap.put("title", par.getTypeName()); // wllxMap.put("title", par.getTypeName());
// wllxMap.put("netFlag", par.getNetFlag()); // wllxMap.put("netFlag", par.getNetFlag());
// wllxMap.put("animationPath", par.getAnimationPath()); // wllxMap.put("animationPath", StringUtils.split(par.getAnimationPath(), ","));
// wllxMap.put("levle", "2"); // wllxMap.put("levle", "2");
// wllxMap.put("children", directiceMapList); // wllxMap.put("children", directiceMapList);
// typeMapList.add(wllxMap); // typeMapList.add(wllxMap);
@ -146,7 +146,7 @@ public class BizConfigServiceCategoryServiceImpl extends ServiceImpl<BizConfigSe
// infoMap.put("key", par.getId()); // infoMap.put("key", par.getId());
// infoMap.put("title", par.getCategoryName().substring(0, 2)); // infoMap.put("title", par.getCategoryName().substring(0, 2));
// infoMap.put("netFlag", par.getNetFlag()); // infoMap.put("netFlag", par.getNetFlag());
// infoMap.put("animationPath", par.getAnimationPath()); // infoMap.put("animationPath", StringUtils.split(par.getAnimationPath(), ","));
// infoMap.put("levle", "1"); // infoMap.put("levle", "1");
// infoMap.put("children", wllxMap2List); // infoMap.put("children", wllxMap2List);
// treeList.add(infoMap); // treeList.add(infoMap);
@ -225,7 +225,7 @@ public class BizConfigServiceCategoryServiceImpl extends ServiceImpl<BizConfigSe
wllxMap.put("parentId", par.getCategoryId()); wllxMap.put("parentId", par.getCategoryId());
wllxMap.put("title", par.getTypeName()); wllxMap.put("title", par.getTypeName());
wllxMap.put("netFlag", par.getNetFlag()); wllxMap.put("netFlag", par.getNetFlag());
wllxMap.put("animationPath", par.getAnimationPath()); wllxMap.put("animationPath", StringUtils.split(par.getAnimationPath(), ","));
wllxMap.put("levle", "2"); wllxMap.put("levle", "2");
wllxMap.put("children", directiceMapList); wllxMap.put("children", directiceMapList);
typeMapList.add(wllxMap); typeMapList.add(wllxMap);
@ -252,7 +252,7 @@ public class BizConfigServiceCategoryServiceImpl extends ServiceImpl<BizConfigSe
infoMap.put("key", par.getId()); infoMap.put("key", par.getId());
infoMap.put("title", par.getCategoryName().substring(0, 2)); // 保持原有逻辑 infoMap.put("title", par.getCategoryName().substring(0, 2)); // 保持原有逻辑
infoMap.put("netFlag", par.getNetFlag()); infoMap.put("netFlag", par.getNetFlag());
infoMap.put("animationPath", par.getAnimationPath()); infoMap.put("animationPath", StringUtils.split(par.getAnimationPath(), ","));
infoMap.put("levle", "1"); infoMap.put("levle", "1");
infoMap.put("children", wllxMap2List); infoMap.put("children", wllxMap2List);
treeList.add(infoMap); treeList.add(infoMap);
@ -274,7 +274,7 @@ public class BizConfigServiceCategoryServiceImpl extends ServiceImpl<BizConfigSe
jszlMap.put("key", par.getId()); jszlMap.put("key", par.getId());
jszlMap.put("title", par.getCategoryName().substring(0, 2)); // 保持原有逻辑 jszlMap.put("title", par.getCategoryName().substring(0, 2)); // 保持原有逻辑
jszlMap.put("netFlag", par.getNetFlag()); jszlMap.put("netFlag", par.getNetFlag());
jszlMap.put("animationPath", par.getAnimationPath()); jszlMap.put("animationPath", StringUtils.split(par.getAnimationPath(), ","));
jszlMap.put("levle", "1"); jszlMap.put("levle", "1");
jszlMap.put("children", jszlChildren); jszlMap.put("children", jszlChildren);
jszlTreeList.add(jszlMap); jszlTreeList.add(jszlMap);
@ -285,4 +285,5 @@ public class BizConfigServiceCategoryServiceImpl extends ServiceImpl<BizConfigSe
result.put("jszl", jszlTreeList); result.put("jszl", jszlTreeList);
return result; return result;
} }
} }