属性组完成

day-06
Saisai Liu 2024-03-04 21:13:02 +08:00
parent a7adac6613
commit 7597af50aa
2 changed files with 4 additions and 3 deletions

View File

@ -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();
} }