-- 菜单 SQL insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) values('实时监控信息', '1062', '1', 'tAdasWarn', 'tAdasWarn/tAdasWarn/index', 1, 0, 'C', '0', '0', 'tAdasWarn:tAdasWarn:list', '#', 'admin', sysdate(), '', null, '实时监控信息菜单'); -- 按钮父菜单ID SELECT @parentId := LAST_INSERT_ID(); -- 按钮 SQL insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) values('实时监控信息查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'tAdasWarn:tAdasWarn:query', '#', 'admin', sysdate(), '', null, ''); insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) values('实时监控信息新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'tAdasWarn:tAdasWarn:add', '#', 'admin', sysdate(), '', null, ''); insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) values('实时监控信息修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'tAdasWarn:tAdasWarn:edit', '#', 'admin', sysdate(), '', null, ''); insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) values('实时监控信息删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'tAdasWarn:tAdasWarn:remove', '#', 'admin', sysdate(), '', null, ''); insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) values('实时监控信息导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'tAdasWarn:tAdasWarn:export', '#', 'admin', sysdate(), '', null, '');
时间: 2023-05-22 22:05:41 浏览: 380
向sys_menu表插入一条记录,记录包含以下字段信息:菜单名称为‘实时监控信息’,父菜单ID为‘1062’,排序号为‘1’,路由路径为‘tAdasWarn’,组件路径为‘tAdasWarn/tAdasWarn/index’,是否为iframe内嵌网页为‘1’,是否缓存为‘0’,菜单类型为‘C’,是否可见为‘0’,状态为‘0’,权限标识为‘tAdasWarn:tAdasWarn:list’,图标名称为空,创建人和创建时间为空,更新人和更新时间为空,备注为空。
阅读全文