--delete from Sys_ButtonToMenu where MenuId in (select MenuId from Sys_Menu where MenuType='Menu_HTGL')
--go
--delete from Sys_Menu where MenuType='Menu_HTGL'
--go

--INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
--VALUES('E9D387EB-2797-43E3-AACE-93413839CCF7','合同管理','',10,'0','Menu_HTGL',0,0,1)
--GO

INSERT Sys_Menu ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed])
VALUES ( N'E36CBDD0-2E49-415E-BBE7-B8222F40D749',N'合同模板',20,N'0',N'Menu_HTGL',1,0,1)
GO
INSERT Sys_Menu ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) 
VALUES ( N'C141ABE5-E377-45C1-9507-E723C40099B8',N'基本信息',N'PHTGL/ContractCompile/Contract.aspx',10,N'E36CBDD0-2E49-415E-BBE7-B8222F40D749',N'Menu_HTGL',1,1,1)
GO   
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'E53F4A11-EEA2-4134-9CCA-6E91EBFAE3E6',N'C141ABE5-E377-45C1-9507-E723C40099B8',N'增加',1)
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'EDF874FC-5942-4846-849C-6C3A7BA02D41',N'C141ABE5-E377-45C1-9507-E723C40099B8',N'修改',2)
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
	VALUES ( N'5A13FB85-FFE4-4486-9B16-68E5AD943D79',N'C141ABE5-E377-45C1-9507-E723C40099B8',N'删除',3)
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex])
	VALUES ( N'0ADC3BA5-29DF-4DAA-85FB-9410BF2CDF30',N'C141ABE5-E377-45C1-9507-E723C40099B8',N'保存',4)
    GO

INSERT Sys_Menu ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) VALUES ( N'C5560FF5-8181-4BA2-8326-D2B49E45660C',N'合同协议书',N'PHTGL/ContractCompile/ContractAgreementEdit.aspx',20,N'E36CBDD0-2E49-415E-BBE7-B8222F40D749',N'Menu_HTGL',1,1,1)
GO 
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'BDF22C3E-D614-4B0C-99E4-536BF2D5BBF6',N'C5560FF5-8181-4BA2-8326-D2B49E45660C',N'增加',1)
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'512D8746-0CD1-4B8D-8BED-9B74E8DE1EDA',N'C5560FF5-8181-4BA2-8326-D2B49E45660C',N'修改',2)
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'ADA48783-F4F4-4EAC-9FDE-5D797A8CFFED',N'C5560FF5-8181-4BA2-8326-D2B49E45660C',N'删除',3)
    INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'1397894B-D964-4759-B727-01490D19EA13',N'C5560FF5-8181-4BA2-8326-D2B49E45660C',N'保存',4)
	GO
INSERT Sys_Menu ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) VALUES ( N'98367C43-9C85-467E-9144-288D80101E41',N'专用条款',N'PHTGL/ContractCompile/SpecialTermsConditions.aspx',40,N'E36CBDD0-2E49-415E-BBE7-B8222F40D749',N'Menu_HTGL',1,1,1)
GO
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'EF3A0AE9-2809-4FD0-9C65-828386214343',N'98367C43-9C85-467E-9144-288D80101E41',N'增加',1)
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'D27F69BC-F1E8-4727-A737-CF840C75775E',N'98367C43-9C85-467E-9144-288D80101E41',N'修改',2)
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'CB9FDBDA-5E51-4D7E-B392-7838FFFF389B',N'98367C43-9C85-467E-9144-288D80101E41',N'删除',3)
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'B6E61EF2-F750-4D55-B554-6B9E2EEB5B85',N'98367C43-9C85-467E-9144-288D80101E41',N'保存',4)
   GO


INSERT Sys_Menu ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) 
VALUES ( N'98573D16-3310-4292-96A5-A59B9A5E6B6B',N'通用条款',N'PHTGL/ContractCompile/GeneralTermsConditions.aspx',30,N'E36CBDD0-2E49-415E-BBE7-B8222F40D749',N'Menu_HTGL',1,1,1)
GO

INSERT Sys_Menu ([MenuId],[MenuName],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed])
VALUES ( 'E3978B9E-89D7-4B23-B44B-A680FAFA0443','施工长名单管理',30,'0','Menu_HTGL',1,0,1)
GO
INSERT Sys_Menu ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) 
VALUES ( N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'施工长名单入网申请',N'PHTGL/LongListManager/LongListNetApplication.aspx',10,N'E3978B9E-89D7-4B23-B44B-A680FAFA0443',N'Menu_HTGL',1,1,1)
GO
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'972AE597-DB11-40B5-8D1F-C5C64CBDC223',N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'增加',1)
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'D74ED887-AE96-4DD6-9B0E-8E8FDDAFB734',N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'修改',2)
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'9DC4D43C-83EE-4424-A875-6BDA60926449',N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'删除',3)
   INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
   VALUES ( N'AC470E65-700A-42CF-BA12-0036EBBD5E9F',N'9C4E7381-4080-4082-8C4D-B041149D48C7',N'保存',4)
   GO
 
INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) 
VALUES ( N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'招标工作台账',N'PHTGL/Filing/BidDocumentsStandingBook.aspx',40,N'0',N'Menu_HTGL',1,0,1)
GO
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'7903BFCB-6744-467C-B114-558A978BF40B',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'修改',2)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'377C7B8E-CC15-4002-B391-4DF580AD4248',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'删除',3)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'3567F71F-8A85-4147-9EE8-8BD931ECDBD7',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'保存',4)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'1C04B9DD-0737-4E48-88D5-20A39F3AD42E',N'C18B4A2E-7BE7-43E6-A969-8A6292D19987',N'增加',1)
GO
INSERT [Sys_Menu] ([MenuId],[MenuName],[Url],[SortIndex],[SuperMenu],[MenuType],[IsOffice],[IsEnd],[IsUsed]) 
VALUES ( N'0A5DF9F5-B6B5-41B8-8951-C203C5749495',N'合同台账',N'PHTGL/Filing/ContractStandingBook.aspx',50,N'0',N'Menu_HTGL',1,0,1)
GO
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'FADA2113-5F03-4BB6-825E-9C7831659168',N'0A5DF9F5-B6B5-41B8-8951-C203C5749495',N'修改',2)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'D99CDA22-F4AC-4DC2-99E8-7453E9C276D2',N'0A5DF9F5-B6B5-41B8-8951-C203C5749495',N'删除',3)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'97B2A0A9-E842-495D-B99B-2E67DF5ECCAD',N'0A5DF9F5-B6B5-41B8-8951-C203C5749495',N'保存',4)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'BDFD1A0F-35AF-4143-A7C2-31A0DC024F67',N'0A5DF9F5-B6B5-41B8-8951-C203C5749495',N'增加',1)
	INSERT [Sys_ButtonToMenu] ([ButtonToMenuId],[MenuId],[ButtonName],[SortIndex]) 
	VALUES ( N'1A5D7CEC-2E64-4AAB-910B-A2C2CD6FA797',N'0A5DF9F5-B6B5-41B8-8951-C203C5749495',N'导入',5)
GO

