提交 fdf0eb70 authored 作者: 吴德鹏's avatar 吴德鹏

属性管理

上级 b451e704
...@@ -298,9 +298,9 @@ public class AttributesController { ...@@ -298,9 +298,9 @@ public class AttributesController {
String[] arr = param.getAttrDescId().split(","); String[] arr = param.getAttrDescId().split(",");
List<AttributesDescEntity> descEntities = attributesDescService.queryDescByIds(arr); List<AttributesDescEntity> descEntities = attributesDescService.queryDescByIds(arr);
List<AttributesDescVo> list = new ArrayList<>(); List<AttributesDescVo> list = new ArrayList<>();
param.setAttrDescId(param.getAttrDescId());
descEntities.forEach(desc -> { descEntities.forEach(desc -> {
AttributesDescVo attVo = new AttributesDescVo(); AttributesDescVo attVo = new AttributesDescVo();
param.setAttrDescId(desc.getAttrDescId());
String value = desc.getAttrValue(); String value = desc.getAttrValue();
attVo.setAttrDescId(desc.getAttrDescId()); attVo.setAttrDescId(desc.getAttrDescId());
if (!StringUtils.isBlank(desc.getAttrDesc())) { if (!StringUtils.isBlank(desc.getAttrDesc())) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论