--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 INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
--VALUES('8IDKGJE2-09B1-4607-BC6D-865CE48F0002','单位管理','SysManage/Unit.aspx',10,'0','Menu_HTGL',1,1,1)
--GO
--INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
--VALUES('31451999-CA49-469D-8E92-508FA7BC2A7E','8IDKGJE2-09B1-4607-BC6D-865CE48F0002','增加',1)
--INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
--VALUES('854573A7-18BE-41CB-BFBD-16952826EF14','8IDKGJE2-09B1-4607-BC6D-865CE48F0002','修改',2)
--INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
--VALUES('039D73FD-9BFD-49E3-AB36-1D635FD70AFD','8IDKGJE2-09B1-4607-BC6D-865CE48F0002','删除',3)
--INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
--VALUES('E940FAB0-FA0C-447A-9C83-9F6082074274','8IDKGJE2-09B1-4607-BC6D-865CE48F0002','保存',4)
--GO
