From 8d81c4b85da6fecec29f04c54003a3226ba6c5b8 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Tue, 1 Nov 2016 16:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=9B=9E=E5=89=8D?= =?UTF-8?q?=E5=8F=B0=E8=8F=9C=E5=8D=95=EF=BC=8C=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=BC=96=E7=A0=81=E6=96=B9=E5=BC=8F=E4=B8=BA?= =?UTF-8?q?UTF-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DatabaseScripts/InitData.sql | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/DatabaseScripts/InitData.sql b/DatabaseScripts/InitData.sql index cefe9b18..beea232b 100644 --- a/DatabaseScripts/InitData.sql +++ b/DatabaseScripts/InitData.sql @@ -1,4 +1,4 @@ -USE [BootstrapAdmin] +锘縐SE [BootstrapAdmin] GO DELETE From Users where ID = 1 @@ -8,17 +8,18 @@ SET IDENTITY_INSERT [dbo].[Users] OFF DELETE From Dicts where ID in (1, 2) SET IDENTITY_INSERT [dbo].[Dicts] ON -INSERT [dbo].[Dicts] ([ID], [Category], [Name], [Code]) VALUES (1, N'菜单', N'系统菜单', '0') -INSERT [dbo].[Dicts] ([ID], [Category], [Name], [Code]) VALUES (2, N'菜单', N'外部菜单', '1') +INSERT [dbo].[Dicts] ([ID], [Category], [Name], [Code]) VALUES (1, N'鑿滃崟', N'绯荤粺鑿滃崟', '0') +INSERT [dbo].[Dicts] ([ID], [Category], [Name], [Code]) VALUES (2, N'鑿滃崟', N'澶栭儴鑿滃崟', '1') SET IDENTITY_INSERT [dbo].[Dicts] OFF -DELETE FROM Navigations where ID in (1, 2, 3, 4, 5, 6, 7) +DELETE FROM Navigations where ID in (1, 2, 3, 4, 5, 6, 7, 8) SET IDENTITY_INSERT [dbo].[Navigations] ON -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (1, 0, N'菜单管理', 10, N'fa fa-dashboard', N'~/Admin/Menus', N'0') -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (2, 0, N'用户管理', 20, N'fa fa-user', N'~/Admin/Users', N'0') -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (3, 0, N'角色管理', 30, N'fa fa-sitemap', N'~/Admin/Roles', N'0') -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (4, 0, N'部门管理', 40, N'fa fa-home', N'~/Admin/Groups', N'0') -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (5, 0, N'字典表维护', 50, N'fa fa-book', N'~/Admin/Dicts', N'0') -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (6, 0, N'个性化维护', 60, N'fa fa-pencil', N'~/Admin/Profiles', N'0') -INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (7, 0, N'系统日志', 70, N'fa fa-gears', N'~/Admin/Logs', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (1, 0, N'鑿滃崟绠$悊', 10, N'fa fa-dashboard', N'~/Admin/Menus', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (2, 0, N'鐢ㄦ埛绠$悊', 20, N'fa fa-user', N'~/Admin/Users', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (3, 0, N'瑙掕壊绠$悊', 30, N'fa fa-sitemap', N'~/Admin/Roles', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (4, 0, N'閮ㄩ棬绠$悊', 40, N'fa fa-home', N'~/Admin/Groups', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (5, 0, N'瀛楀吀琛ㄧ淮鎶', 50, N'fa fa-book', N'~/Admin/Dicts', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (6, 0, N'涓у寲缁存姢', 60, N'fa fa-pencil', N'~/Admin/Profiles', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (7, 0, N'绯荤粺鏃ュ織', 70, N'fa fa-gears', N'~/Admin/Logs', N'0') +INSERT [dbo].[Navigations] ([ID], [ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (8, 0, N'杩斿洖鍓嶅彴', 80, N'fa fa-hand-o-left', N'~/Home', N'0') SET IDENTITY_INSERT [dbo].[Navigations] OFF \ No newline at end of file