insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule) values('4622EDCD-6313-4736-852C-CF8B3D2CAB3B','封面','JGZL/Cover.aspx',1,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3') go insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('35901831-D34A-4248-ADC2-55B11F72C7E8','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','增加',1) insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('C3330C1C-5009-43C2-AEA1-997C0677C808','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','修改',2) insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('9504E17E-D25F-4BE0-9069-10BBCF88FAEC','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','删除',3) insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('100901FA-21CB-4714-8B5C-EA0CA3ADE1DC','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','保存',4) go insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule) values('81B9A521-A077-48C5-98A8-3A44C0B0D803','交工技术文件说明','JGZL/DocumentDescription.aspx',5,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3') go insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('157E0A36-3D83-43CD-99F4-972471B95E41','81B9A521-A077-48C5-98A8-3A44C0B0D803','增加',1) insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('7CED6294-82EB-4A27-AB04-95B4A20564B0','81B9A521-A077-48C5-98A8-3A44C0B0D803','修改',2) insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('916161C5-AFE2-4343-8EE6-2D7E9FBADF4E','81B9A521-A077-48C5-98A8-3A44C0B0D803','删除',3) insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) values('CBAB663D-CAB1-4D8B-A5FE-01B6AFF6719D','81B9A521-A077-48C5-98A8-3A44C0B0D803','保存',4) go CREATE TABLE [dbo].[JGZL_DocumentDescription]( [DocumentDescriptionId] [nvarchar](50) NOT NULL, [ProjectId] [nvarchar](50) NULL, [ProjectOverview] [nvarchar](2000) NULL, [ConstructionUnit] [nvarchar](50) NULL, [DesigningUnit] [nvarchar](50) NULL, [TestingUnit] [nvarchar](50) NULL, [ConstructionCompany] [nvarchar](50) NULL, [CompileMan] [nvarchar](50) NULL, [CompileDate] [datetime] NULL, [Reviewer] [nvarchar](50) NULL, [ReviewDate] [datetime] NULL, CONSTRAINT [PK_JGZL_DocumentDescription] PRIMARY KEY CLUSTERED ( [DocumentDescriptionId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] GO ALTER TABLE [dbo].[JGZL_DocumentDescription] WITH CHECK ADD CONSTRAINT [FK_JGZL_DocumentDescription_Base_Project] FOREIGN KEY([ProjectId]) REFERENCES [dbo].[Base_Project] ([ProjectId]) GO ALTER TABLE [dbo].[JGZL_DocumentDescription] CHECK CONSTRAINT [FK_JGZL_DocumentDescription_Base_Project] GO ALTER TABLE [dbo].[JGZL_DocumentDescription] WITH CHECK ADD CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User] FOREIGN KEY([CompileMan]) REFERENCES [dbo].[Sys_User] ([UserId]) GO ALTER TABLE [dbo].[JGZL_DocumentDescription] CHECK CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User] GO ALTER TABLE [dbo].[JGZL_DocumentDescription] WITH CHECK ADD CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User1] FOREIGN KEY([Reviewer]) REFERENCES [dbo].[Sys_User] ([UserId]) GO ALTER TABLE [dbo].[JGZL_DocumentDescription] CHECK CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User1] GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'DocumentDescriptionId' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ProjectId' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'工程概况' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ProjectOverview' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'建设单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ConstructionUnit' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'DesigningUnit' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'检测单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'TestingUnit' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ConstructionCompany' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'CompileMan' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'CompileDate' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'Reviewer' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ReviewDate' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交工技术文件说明' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription' GO