java-mall/sql/shop/dev/202506013_2_dml.sql
2025-06-13 16:59:18 +08:00

7 lines
882 B
SQL

update admin_base_menu set menu_url_path='/admin/shop/shop-base-product-spec/list' where menu_name ='规格管理' and menu_role ='2';
update admin_base_menu set menu_parent_id ='8021' where menu_name in('分类管理','类型管理','品牌管理','规格管理') and menu_role ='2';
update admin_base_protocol set rights_id=CONCAT_WS(',',rights_id,'311218') where `path` ='/admin/shop/shop-base-product-category/list'; -- 分类管理
update admin_base_protocol set rights_id=CONCAT_WS(',',rights_id,'311220') where `path` ='/admin/shop/shop-base-product-brand/list'; -- 品牌管理
update admin_base_protocol set rights_id=CONCAT_WS(',',rights_id,'311219') where `path` ='/admin/shop/shop-base-product-type/list'; -- 类型管理
update admin_base_protocol set rights_id=CONCAT_WS(',',rights_id,'311221') where `path` ='/admin/shop/shop-base-product-spec/list'; -- 规格管理