Browse Source

修改新增方法

ghost 4 years ago
parent
commit
3689019bf9

+ 4 - 4
forest-admin/admin-server/src/main/java/com/hwrj/cloud/admin/service/impl/PmsProductServiceImpl.java

@@ -97,10 +97,10 @@ public class PmsProductServiceImpl implements PmsProductService {
         relateAndInsertList(skuStockDao, productParam.getSkuStockList(), productId);
         //添加商品参数,添加自定义商品规格
         relateAndInsertList(productAttributeValueDao, productParam.getProductAttributeValueList(), productId);
-        //关联专题
-        subjectService.relateAndInsertList(productParam.getSubjectProductRelationList(), productId);
-        //关联优选
-        prefrenceAreaService.relateAndInsertList(productParam.getPrefrenceAreaProductRelationList(), productId);
+//        //关联专题
+//        subjectService.relateAndInsertList(productParam.getSubjectProductRelationList(), productId);
+//        //关联优选
+//        prefrenceAreaService.relateAndInsertList(productParam.getPrefrenceAreaProductRelationList(), productId);
         count = 1;
         return count;
     }