属性组完成
parent
a7adac6613
commit
7597af50aa
|
@ -20,3 +20,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -119,10 +119,7 @@ public class AttributeGroupServiceImpl extends ServiceImpl<AttributeGroupMapper,
|
||||||
.saveBuilder(attributeGroup.getId(), attributeId))
|
.saveBuilder(attributeGroup.getId(), attributeId))
|
||||||
.toList();
|
.toList();
|
||||||
asAttributeGroupService.removeBatchByIds(attributeGroup.getAsAttributeIds());
|
asAttributeGroupService.removeBatchByIds(attributeGroup.getAsAttributeIds());
|
||||||
// asAttributeGroupService.deleteAsAttributeGroupByIds(attributeGroup.getAsAttributeIds());
|
|
||||||
asAttributeGroupService.saveBatch(asAttributeGroups);
|
asAttributeGroupService.saveBatch(asAttributeGroups);
|
||||||
// asAttributeGroupService.saveOrUpdateBatch(asAttributeGroups);
|
|
||||||
|
|
||||||
// asAttributeGroups.forEach(asAttributeGroup -> asAttributeGroupService.updateAsAttributeGroup(asAttributeGroup));
|
// asAttributeGroups.forEach(asAttributeGroup -> asAttributeGroupService.updateAsAttributeGroup(asAttributeGroup));
|
||||||
return asAttributeGroups.size();
|
return asAttributeGroups.size();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue