-- 菜单 SQL
INSERT INTO `system_menu`(
    `name`, `permission`, `menu_type`, `sort`, `parent_id`,
    `path`, `icon`, `component`, `status`
)
VALUES (
    '商品品牌-未授权客户-指定收费标准管理', '', 2, 0, 1469,
    'product-brand-unauth-empower', '', 'ecw/productBrandUnauthEmpower/index', 0
);

-- 按钮父菜单ID
SELECT @parentId := LAST_INSERT_ID();

-- 按钮 SQL
INSERT INTO `system_menu`(
    `name`, `permission`, `menu_type`, `sort`, `parent_id`,
    `path`, `icon`, `component`, `status`
)
VALUES (
    '商品品牌-未授权客户-指定收费标准查询', 'ecw:product-brand-unauth-empower:query', 3, 1, @parentId,
    '', '', '', 0
);
INSERT INTO `system_menu`(
    `name`, `permission`, `menu_type`, `sort`, `parent_id`,
    `path`, `icon`, `component`, `status`
)
VALUES (
    '商品品牌-未授权客户-指定收费标准创建', 'ecw:product-brand-unauth-empower:create', 3, 2, @parentId,
    '', '', '', 0
);
INSERT INTO `system_menu`(
    `name`, `permission`, `menu_type`, `sort`, `parent_id`,
    `path`, `icon`, `component`, `status`
)
VALUES (
    '商品品牌-未授权客户-指定收费标准更新', 'ecw:product-brand-unauth-empower:update', 3, 3, @parentId,
    '', '', '', 0
);
INSERT INTO `system_menu`(
    `name`, `permission`, `menu_type`, `sort`, `parent_id`,
    `path`, `icon`, `component`, `status`
)
VALUES (
    '商品品牌-未授权客户-指定收费标准删除', 'ecw:product-brand-unauth-empower:delete', 3, 4, @parentId,
    '', '', '', 0
);
INSERT INTO `system_menu`(
    `name`, `permission`, `menu_type`, `sort`, `parent_id`,
    `path`, `icon`, `component`, `status`
)
VALUES (
    '商品品牌-未授权客户-指定收费标准导出', 'ecw:product-brand-unauth-empower:export', 3, 5, @parentId,
    '', '', '', 0
);