

-- 菜单 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 (342091493154818, '全部商机', DEFAULT, '69', null, 'allBusiness', 'business/allBusiness/index', 'allBusiness', null, 1, 'business:allBusiness: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 (342091493154819, '商机查询', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness: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 (342091493154820, '商机新增', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness: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 (342091493154821, '商机修改', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness: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 (342091493154822, '商机删除', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness: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 (342091493154823, '商机导出', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness:export', 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 (342091493154824, '商机置顶', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness:top', 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 (342091493154825, '商机跟进', DEFAULT, 342091493154818, null, '', '', '', null, 3, 'business:allBusiness:flowUp', 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, 342091493154824, 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, 342091493154825, 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, 342091493154818, 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, 342091493154819, 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, 342091493154820, 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, 342091493154821, 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, 342091493154822, 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, 342091493154823, 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:detail_add', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tjlxr', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tjfy', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:xxgj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail: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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:zwdd', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:zysj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail: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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:bjsj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:scsj', 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);


##tab//////////////////////

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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gkxx', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr', 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);

##tab联系人按钮//////////////////////
    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr_dr', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr_dc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr_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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_lxr_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);


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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gjjl', 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);
##tab跟进记录按钮//////////////////////

    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gjjl_dc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gjjl_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gjjl_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gjjl_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);





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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_rwjl', 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);
##tab跟进记录按钮//////////////////////

    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_rwjl_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_rwjl_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_rwjl_dc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_rwjl_bj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_rwjl_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gldd', 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);
##tab关联订单按钮//////////////////////

    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gldd_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gldd_dc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gldd_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gldd_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);

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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_cpbj', 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);
##tab关联订单按钮//////////////////////
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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl', 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);
##tab关联订单按钮//////////////////////
    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl_dr', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl_dc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl_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);
    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl_bj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_jyjl_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_fyjl', 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);
##tab费用记录按钮//////////////////////
    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_fyjl', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_fyjl_dc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_fyjl_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_fyjl_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);


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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_xgfj', 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);
##tab相关附件按钮//////////////////////
    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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_xgfj_tj', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_xgfj_xz', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_xgfj_sc', 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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_czrz', 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);
##tab相关附件按钮//////////////////////

-- add
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, 3059155905527860, null, '', '', '', null, 3, 'business:detail:tab_gjjl_bj', 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);
