diff --git a/DatabaseScripts/InitData.sql b/DatabaseScripts/InitData.sql index f14788ba..853b8538 100644 --- a/DatabaseScripts/InitData.sql +++ b/DatabaseScripts/InitData.sql @@ -93,6 +93,7 @@ set @AppName = N'测试平台' Delete From [dbo].[Dicts] Where Category = N'应用程序' and Code = @AppId INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'应用程序', @AppName, @AppId, 0) +INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'应用首页', @AppId, 'http://localhost:49185/', 0) Delete From [dbo].[Dicts] Where Category = @AppName Insert Dicts (Category, Name, Code, Define) values (@AppName, N'网站标题', N'托盘组垛程序', 1); diff --git a/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json b/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json index 824aafe1..7ff9b90e 100644 --- a/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json +++ b/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json @@ -271,5 +271,12 @@ "Name": "Test", "Code": "Pallet.DeviceInterface.Device, Pallet.DeviceHub", "Define": NumberInt(1) + }, + { + "_id": ObjectId("5bd6c73d5fa31256f77e4a39"), + "Category": "应用首页", + "Name": "2", + "Code": "http://localhost:49185/", + "Define": NumberInt(0) } ] diff --git a/DatabaseScripts/MySQL/initData.sql b/DatabaseScripts/MySQL/initData.sql index f0ced677..014cecd3 100644 --- a/DatabaseScripts/MySQL/initData.sql +++ b/DatabaseScripts/MySQL/initData.sql @@ -85,6 +85,7 @@ INSERT INTO NavigationRole (NavigationID, RoleID) VALUES (19, 2); -- Client Data Delete From Dicts Where Category = '应用程序' and Code = 2; INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('应用程序', '测试平台', 2, 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('应用首页', 2, 'http://localhost:49185/', 0); Delete From Dicts Where Category = '测试平台'; Insert into Dicts (Category, Name, Code, Define) values ('测试平台', '网站标题', 'BA Client', 1); diff --git a/DatabaseScripts/Postgresql/initData.sql b/DatabaseScripts/Postgresql/initData.sql index 2c780e20..2ff02fa1 100644 --- a/DatabaseScripts/Postgresql/initData.sql +++ b/DatabaseScripts/Postgresql/initData.sql @@ -82,6 +82,7 @@ INSERT INTO NavigationRole (NavigationID, RoleID) VALUES (19, 2); -- Client Data Delete From Dicts Where Category = '应用程序' and Code = '2'; INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('应用程序', '测试平台', 2, 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('应用首页', 2, 'http://localhost:49185/', 0); Delete From Dicts Where Category = '测试平台'; Insert into Dicts (Category, Name, Code, Define) values ('测试平台', '网站标题', 'BA Client', 1); diff --git a/DatabaseScripts/SQLite/InitData.sql b/DatabaseScripts/SQLite/InitData.sql index 45bf1390..9d881338 100644 --- a/DatabaseScripts/SQLite/InitData.sql +++ b/DatabaseScripts/SQLite/InitData.sql @@ -77,6 +77,7 @@ INSERT INTO [NavigationRole] ([NavigationID], [RoleID]) VALUES (19, 2); -- Client Data Delete From [Dicts] Where Category = '应用程序' and Code = 2; INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('应用程序', '测试平台', 2, 0); +INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('应用首页', 2, 'http://localhost:49185/', 0); Delete From [Dicts] Where Category = '测试平台'; Insert into Dicts (Category, [Name], Code, Define) values ('测试平台', '网站标题', '前台演示系统', 1);