|
@@ -194,6 +194,11 @@ public class SkuDefaultPackageSpecServiceImpl extends ServiceImpl<SkuDefaultPack
|
|
|
|
|
|
for (SkuSpec skuSpec : list) {
|
|
|
|
|
|
+ Long bomSpecId = skuSpec.getBomSpecId();
|
|
|
+ if (bomSpecId == null) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
BigDecimal length = skuSpec.getLength();
|
|
|
BigDecimal width = skuSpec.getWidth();
|
|
|
BigDecimal height = skuSpec.getHeight();
|