17 lines
979 B
SQL
17 lines
979 B
SQL
-- 菜单SQL
|
|
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
|
|
VALUES ('1', '', 'wcs/mtdddevicecodelog', NULL, '1', 'config', '6');
|
|
|
|
-- 按钮父菜单ID
|
|
set @parentId = @@identity;
|
|
|
|
-- 菜单对应按钮SQL
|
|
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
|
|
SELECT @parentId, '查看', null, 'wcs:mtdddevicecodelog:list,wcs:mtdddevicecodelog:info', '2', null, '6';
|
|
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
|
|
SELECT @parentId, '新增', null, 'wcs:mtdddevicecodelog:save', '2', null, '6';
|
|
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
|
|
SELECT @parentId, '修改', null, 'wcs:mtdddevicecodelog:update', '2', null, '6';
|
|
INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`)
|
|
SELECT @parentId, '删除', null, 'wcs:mtdddevicecodelog:delete', '2', null, '6';
|