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

属性管理

上级 fc791de3
...@@ -77,9 +77,8 @@ public class AttributesServiceImpl implements AttributesService { ...@@ -77,9 +77,8 @@ public class AttributesServiceImpl implements AttributesService {
int res1 = attributesDao.update(attributes); int res1 = attributesDao.update(attributes);
List<AttributesDescEntity> descs = attributes.getDescs(); List<AttributesDescEntity> descs = attributes.getDescs();
descs.forEach(attr -> { descs.forEach(attr -> {
AttributesDescEntity descEntity = attributesDescDao.queryObject(attr.getAttrDescId()); attr.setUpdateTime(date);
descEntity.setUpdateTime(date); attributesDescDao.update(attr);
attributesDescDao.update(descEntity);
}); });
return res1; return res1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论