

-- 菜单 new SQL
INSERT INTO menu (id, menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES (954633695428609, '我发起的', DEFAULT, '71', null, 'launch', 'order/launch/index', 'launch', null, 1, 'order:launch:list', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);

-- 按钮 new SQL
INSERT INTO menu (id, menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES (954633695428610, '我发起的查询', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:query', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);
INSERT INTO menu (id, menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES (954633695428611, '我发起的新增', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:add', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);
INSERT INTO menu (id, menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES (954633695428612, '我发起的修改', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:edit', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);
INSERT INTO menu (id, menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES (954633695428613, '我发起的删除', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:remove', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);
INSERT INTO menu (id, menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES (954633695428614, '我发起的导出', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:export', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);



insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, 954633695428609, 1, sysdate(), null, 0);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, 954633695428610, 1, sysdate(), null, 0);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, 954633695428611, 1, sysdate(), null, 0);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, 954633695428612, 1, sysdate(), null, 0);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, 954633695428613, 1, sysdate(), null, 0);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, 954633695428614, 1, sysdate(), null, 0);

INSERT INTO menu (menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES ('我发起的导入', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:import', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);

insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, LAST_INSERT_ID(), 1, sysdate(), null, 0);

#列表其他按钮权限
INSERT INTO menu (menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES ('我发起的-分配工单', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:fpgd', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, LAST_INSERT_ID(), 1, sysdate(), null, 0);

INSERT INTO menu (menu_name, menu_code, pid, app_id, path, component, router_name, icon, menu_type, perms, is_cache, is_frame, visible, remark, create_by, owner_by, create_time, update_by, update_time, is_delete, enabled, sort)
VALUES ('我发起的-详情', DEFAULT, 954633695428609, null, '', '', '', null, 3, 'order:launch:xq', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1);
insert into role_menu (is_delete, role_id, sort, update_time, menu_id, create_by, create_time, update_by, enabled)
values (0, 1, 1, null, LAST_INSERT_ID(), 1, sysdate(), null, 0);
