-- 菜单 SQL
insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark)
values('仓库信息维护', '4', '1', '/manager/base_store', 'C', '0', 'manager:base_store:view', '#', 'admin', sysdate(), '', null, '仓库信息维护菜单');

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

-- 按钮 SQL
insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark)
values('仓库信息维护查询', @parentId, '1',  '#',  'F', '0', 'manager:base_store:list',         '#', 'admin', sysdate(), '', null, '');

insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark)
values('仓库信息维护新增', @parentId, '2',  '#',  'F', '0', 'manager:base_store:add',          '#', 'admin', sysdate(), '', null, '');

insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark)
values('仓库信息维护修改', @parentId, '3',  '#',  'F', '0', 'manager:base_store:edit',         '#', 'admin', sysdate(), '', null, '');

insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark)
values('仓库信息维护删除', @parentId, '4',  '#',  'F', '0', 'manager:base_store:remove',       '#', 'admin', sysdate(), '', null, '');

insert into sys_menu (menu_name, parent_id, order_num, url, menu_type, visible, perms, icon, create_by, create_time, update_by, update_time, remark)
values('仓库信息维护导出', @parentId, '5',  '#',  'F', '0', 'manager:base_store:export',       '#', 'admin', sysdate(), '', null, '');
