update 更新 解锁菜单权限sql

This commit is contained in:
疯狂的狮子li
2022-08-08 11:21:44 +08:00
parent 515657616a
commit 0cecbec3b3
8 changed files with 28 additions and 0 deletions

View File

@@ -3,3 +3,7 @@ insert into sys_menu values('112', '缓存列表', '2', '6', 'cacheList', 'm
delete from sys_menu WHERE menu_id = 116;
update sys_config set config_key = 'sys.account.captchaEnabled' where config_id = 4
insert into sys_menu values('1050', '账户解锁', '501', '4', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', sysdate, '', null, '');
insert into sys_role_menu values ('2', '1050');

View File

@@ -3,3 +3,7 @@ insert into sys_menu values('112', '缓存列表', '2', '6', 'cacheList', 'm
delete from sys_menu WHERE menu_id = 116;
update sys_config set config_key = 'sys.account.captchaEnabled' where config_id = 4
insert into sys_menu values('1050', '账户解锁', '501', '4', '#', '', '', '1', '0', 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', now(), '', null, '');
insert into sys_role_menu values ('2', '1050');

View File

@@ -6,3 +6,9 @@ GO
update sys_config set config_key = 'sys.account.captchaEnabled' where config_id = 4
GO
INSERT [sys_menu] ([menu_id], [menu_name], [parent_id], [order_num], [path], [component], [query_param], [is_frame], [is_cache], [menu_type], [visible], [status], [perms], [icon], [create_by], [create_time], [update_by], [update_time], [remark]) VALUES (1050, N'账户解锁', 501, 4, N'#', N'', N'', 1, 0, N'F', N'0', N'0', N'monitor:logininfor:unlock', N'#', N'admin', getdate(), N'', null, N'')
GO
INSERT [sys_role_menu] ([role_id], [menu_id]) VALUES (2, 1050)
GO

View File

@@ -3,3 +3,7 @@ insert into sys_menu values('112', '缓存列表', '2', '6', 'cacheList', 'm
delete from sys_menu WHERE menu_id = 116;
update sys_config set config_key = 'sys.account.captchaEnabled' where config_id = 4
insert into sys_menu values('1050', '账户解锁', '501', '4', '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', sysdate(), '', null, '');
insert into sys_role_menu values ('2', '1050');