From defc0357b1af3cb35655b544066c51d0cab7f5ba Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期五, 18 十一月 2022 10:31:26 +0800
Subject: [PATCH] #feat 新增商品编辑接口

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopFlowerGoodsServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopFlowerGoodsServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopFlowerGoodsServiceImpl.java
index 56e4650..16fb8c3 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopFlowerGoodsServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopFlowerGoodsServiceImpl.java
@@ -264,7 +264,7 @@
                     shopFlowerGoodsAttrDAO.updateById(comShopGoodsAttrDO);
                 } else {
                     comShopGoodsAttrDO = new ComShopFlowerGoodsAttrDO();
-                    comShopGoodsAttrDO.setGoodsId(shopGoodsDO.getId());
+                    comShopGoodsAttrDO.setGoodsId(id);
                     comShopGoodsAttrDO.setStoreId(shopGoodsDO.getStoreId());
                     comShopGoodsAttrDO.setGoodsName(shopGoodsDO.getName());
                     comShopGoodsAttrDO.setGoodsAttrName(goodsAttr.getGoodsAttrName());

--
Gitblit v1.7.1