-- 菜单 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('资产盘点任务列', '2044', '5', '/manager/basketCheckTask', 'C', '0', 'manager:basketCheckTask: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:basketCheckTask: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:basketCheckTask: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:basketCheckTask: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:basketCheckTask: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:basketCheckTask:export',       '#', 'admin', sysdate(), '', null, '');
