@@ -73,6 +73,9 @@ public class CmsGoodsDonSpecServiceImpl extends ServiceImpl<GoodsDonSpecMapper,
// 属性最大id
Integer maxId = 0;
+ if (loveSpec != null && loveSpec.getMaxId() != null) {
+ maxId = loveSpec.getMaxId();
+ }
// 统计总属性数
Integer total = 0;
// 判断id是否有重复