create table wb_menu
(
    MENU_ID     varchar(36)  not null comment '菜单ID'
        primary key,
    MENU_NAME   varchar(200) not null comment '菜单名称',
    MENU_URL    text         null comment '菜单URL',
    MENU_TYPE   char         not null comment '菜单类型',
    PARENT_MENU varchar(36)  not null comment '上级节点',
    ORDER_INDEX decimal(20)  null comment '排序',
    MENU_ICON   varchar(100) null,
    ICON        varchar(100) null,
    ID          varchar(36)  null,
    TENANCY_ID  varchar(40)  null,
    NOTES       varchar(100) null,
    CREATED_BY  varchar(20)  null,
    CREATED_ON  datetime     null,
    UPDATED_BY  varchar(20)  null,
    UPDATED_ON  datetime     null
)
    comment '菜单';

INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3D8MOL2G', '客户管理', null, '2', '-1', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3D8MP8Z4', '市场管理', null, '2', '-1', 0, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3D8MP90F', '代码管理', null, '2', '-1', 6, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3F784ZSL', '菜单管理', 'admin/wbMenu.xwl', '1', '35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3HDICBQB', '费率管理', null, '0', '004CH3D8MP8Z4', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3I5O8GB6', '合同费率', 'feeManage/tariffFee.xwl', '1', '004CH3HDICBQB', 4, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3KD030VG', '计费元素维护', 'feeManage/baseDict.xwl', '1', '004CH3HDICBQB', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3KD030W6', '费目模板', 'feeManage/item.xwl', '1', '004CH3HDICBQB', 3, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3KD030WL', '费类维护', 'feeManage/cate.xwl', '1', '004CH3HDICBQB', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3KD030XW', '计费事件', 'feeManage/points.xwl', '1', '004CH3HDICBQB', 5, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CH3ZE9UQ2E', '客户询报价管理', 'm?xwl=AG_YTHNTK_ILOG_1.0/marketcenter/quotePrice', '1', '004CH3ZE9UQ1A', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CHPTEX10NJ', '供应商合同管理', null, '1', '004CH3ZE9UQ1A', 3, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CPZHFPUR7D', '系统代码管理', null, '0', '004CH3D8MP90F', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CPZHFPUR86', '系统代码维护', 'common/S_Code/S_Code.xwl', '1', '004CPZHFPUR7D', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004CPZHFPUR8L', '系统下拉代码维护', 'common/codeSet.xwl', '1', '004CPZHFPUR7D', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004GF0Y3PB87T', '对对对', 'ddddd', '0', '-2', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004HO2XPI287Q', '客户管理', null, '0', '004CH3D8MOL2G', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004HO2XPI28OQ', '客户管理', 'baseCode/C_Client.xwl', '1', '004HO2XPI287Q', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IGSCX2IOPM', '用户自定义日志', 'log/userDefineLog.xwl', '1', '004IGSCX2IOQR', 3, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IGSCX2IOPT', '系统操作日志', 'log/sysOperLog.xwl', '1', '004IGSCX2IOQR', 4, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IGSCX2IOPZ', '数据修改日志', 'log/operLog.xwl', '1', '004IGSCX2IOQR', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IGSCX2IOQ5', '系统异常日志', 'log/sysExceptionLog.xwl', '1', '004IGSCX2IOQR', 7, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IGSCX2IOQR', '日志查询', null, '0', '55cede9c-20b7-4728-9072-c03b6a4cd965', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IHPWS44QTO', '消息通知', null, '0', '55cede9c-20b7-4728-9072-c03b6a4cd965', 3, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IHPWS44QUI', '消息订阅', 'sys/msg/topicEdit.xwl', '1', '004IHPWS44QTO', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IHPWS44QV7', '我的消息', 'sys/msg/websocketModel/personMsg.xwl', '1', '004IHPWS44QTO', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IHPWS44R24', '系统参数', 'common/S_Code/S_PARM.xwl', '1', '004CPZHFPUR7D', 2, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004IQUK97TDD1', '租户管理', 'admin/wbTenancy.xwl', '1', '35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', 6, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('004JAIOEPJO1M', '测试', 'examples/basic/dropUpload.xwl', '1', '004HO2XPI287Q', 1, null, null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('045b6d74-47bb-4f09-805e-98cda2916c8a', '权限设置', 'admin/perm.xwl', '1', '35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', 3, '29.png', null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', '管理工具', null, '0', '55cede9c-20b7-4728-9072-c03b6a4cd965', 1, '29.png', '29.png', null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('55cede9c-20b7-4728-9072-c03b6a4cd965', '系统管理', null, '2', '-1', 8, '29.png', '14.png', null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('a9003ce6-d972-4d45-8875-ff32cc412d5a', '部门管理', 'admin/dept.xwl', '1', '35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', 4, '29.png', null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('ab7d6209-55e7-4112-af15-2d6f4aaec6bf', '角色管理', 'admin/rolemanage.xwl', '1', '35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', 5, '29.png', null, null, null, null, null, null, null, null);
INSERT INTO ag_devmysql.wb_menu (MENU_ID, MENU_NAME, MENU_URL, MENU_TYPE, PARENT_MENU, ORDER_INDEX, MENU_ICON, ICON, ID, TENANCY_ID, NOTES, CREATED_BY, CREATED_ON, UPDATED_BY, UPDATED_ON) VALUES ('ac5ad315-33f4-4c63-b274-b81be6b2f9cf', '用户管理', 'admin/user.xwl', '1', '35cd87a1-ebbc-40f2-a0f3-dfcd84f19919', 2, '29.png', null, null, null, null, null, null, null, null);
