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

INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('E2F56879-5337-4BEF-8113-62845DF616EF','发布通知','Notice/NoIssuedNotice.aspx',10,'0','Menu_Notice',0,1,1)
GO
	INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
	VALUES('98CC881C-14DF-49B5-9526-FD8A7DB34CDC','E2F56879-5337-4BEF-8113-62845DF616EF','增加',1)
	INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
	VALUES('CF8E97B8-8D0B-4C7F-9023-9055A83B39F9','E2F56879-5337-4BEF-8113-62845DF616EF','修改',2)
	INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
	VALUES('540793D4-2052-44CA-8ED3-2A62A41F920D','E2F56879-5337-4BEF-8113-62845DF616EF','删除',3)
	INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
	VALUES('45E78659-62A0-4246-A401-D1F546800D96','E2F56879-5337-4BEF-8113-62845DF616EF','保存',4)
	INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
	VALUES('65584C4E-B020-443C-8964-27B148F4874A','E2F56879-5337-4BEF-8113-62845DF616EF','提交',5)
	INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
	VALUES('83DB2477-91EF-4A98-9AEA-0CA9D063E70C','E2F56879-5337-4BEF-8113-62845DF616EF','发布',6)
	GO

INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('AEBBE7A9-867C-47C0-9768-CB58DDA9DCDD','已发布通知','Notice/IssuedNotice.aspx',20,'0','Menu_Notice',0,1,1)
GO

