diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/base/controller/admin/ShopBaseProductCategoryController.java b/mall-shop/src/main/java/com/suisung/mall/shop/base/controller/admin/ShopBaseProductCategoryController.java index cab50e47..d73a3f23 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/base/controller/admin/ShopBaseProductCategoryController.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/base/controller/admin/ShopBaseProductCategoryController.java @@ -117,6 +117,7 @@ public class ShopBaseProductCategoryController { oldShopBaseProductCategory.setCategory_order(shopBaseProductCategory.getCategory_order()); }else { oldShopBaseProductCategory.setCategory_order(shopBaseProductCategory.getCategory_order()); + oldShopBaseProductCategory.setCategory_is_enable(shopBaseProductCategory.getCategory_is_enable()); } return CommonResult.success(shopBaseProductCategoryService.editCategory(oldShopBaseProductCategory)); }