

-- 菜单 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 (969804752031746, '下属协作', DEFAULT, '70', null, 'subordinateCooperation', 'orderForm/subordinateCooperation/index', 'subordinateCooperation', null, 1, 'orderForm:subordinateCooperation: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 (969804752031747, '下属协作查询', DEFAULT, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation: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 (969804752031748, '下属协作新增', DEFAULT, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation: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 (969804752031749, '下属协作修改', DEFAULT, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation: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 (969804752031750, '下属协作删除', DEFAULT, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation: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 (969804752031751, '下属协作导出', DEFAULT, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation: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, 969804752031746, 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, 969804752031747, 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, 969804752031748, 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, 969804752031749, 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, 969804752031750, 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, 969804752031751, 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, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation: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, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation:zydd', 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, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation:tjxz', 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, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation:xjrw', 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, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation:gj', 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, 969804752031746, null, '', '', '', null, 3, 'orderForm:subordinateCooperation:zd', 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);
