‘linchangsheng’ 2 weeks ago
parent
commit
0d0fb44e11

+ 1 - 1
src/main/java/com/gree/mall/manager/bean/goods/GoodsApplyVO.java

@@ -21,7 +21,7 @@ import java.util.Date;
 public class GoodsApplyVO     {
 
     @ZfireField(tbName = "a")
-    @TableId(value = "申请单号", type = IdType.ID_WORKER_STR)
+    @ApiModelProperty(value = "商品图片")
     private String goodsApplyId;
 
     @ZfireField(hide = true,tbName = "a")

+ 3 - 0
src/main/java/com/gree/mall/manager/logic/goods/GoodsLogic.java

@@ -445,6 +445,9 @@ public class GoodsLogic {
 
             goodsBean.setPutCompanyName(name);
         }
+
+        GoodsCategory goodsCategory = goodsCategoryService.getById(goodsBean.getCategoryId());
+
         goodsService.save(goodsBean);
 
         if (CollectionUtils.isNotEmpty(goodsBean.getGoodsSpecs())) {