更新脚本:增加字典表应用首页配置项 #IS0WK
This commit is contained in:
parent
fa8b2b43cb
commit
d30b933721
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue