

-- 菜单 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 (1782620272399065090, '公海客户', DEFAULT, '66', null, 'publicCustomer', 'customer/publicCustomer/index', 'publicCustomer', null, 1, 'customer:publicCustomer: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 (1782620272399065091, '公海客户查询', DEFAULT, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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 (1782620272399065092, '公海客户新增', DEFAULT, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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 (1782620272399065093, '公海客户修改', DEFAULT, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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 (1782620272399065094, '公海客户删除', DEFAULT, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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 (1782620272399065095, '公海客户导出', DEFAULT, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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, 1782620272399065090, 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, 1782620272399065091, 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, 1782620272399065092, 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, 1782620272399065093, 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, 1782620272399065094, 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, 1782620272399065095, 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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer:import', 0, 0, false, ' ', 1, 0, sysdate(), null, null, 0, 1, 1)



#列表其他按钮权限
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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer:lqkh', 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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer:zykh', 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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer:hbkh', 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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer:plbj', 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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer:fyj', 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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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, 1782620272399065090, null, '', '', '', null, 3, 'customer:publicCustomer: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);

