20 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Transact-SQL
		
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Transact-SQL
		
	
	
	
| 
 | |
| insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
 | |
| values('51ee983f-085e-4f02-b819-cab049d9cc27','项目质量周报(新)','CQMS/ManageReportNew/WeekReport.aspx',15,'7ecf0229-8a0b-40ce-8b04-e556f7bd3394','Menu_CQMS',0,1,1)
 | |
| go
 | |
| 	insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
 | |
| 	values('F30A37F8-A05E-4EFA-A577-26E909733C14','51ee983f-085e-4f02-b819-cab049d9cc27','增加',1)
 | |
| 	insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
 | |
| 	values('A214EF84-5C60-40EA-823C-DC1CB523A214','51ee983f-085e-4f02-b819-cab049d9cc27','修改',2)
 | |
| 	insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
 | |
| 	values('964847FA-521C-4BAF-B172-A5B2A06A18A8','51ee983f-085e-4f02-b819-cab049d9cc27','删除',3)
 | |
| 	insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
 | |
| 	values('256E7842-64DC-44EB-AAD5-A6DBC1DA31C8','51ee983f-085e-4f02-b819-cab049d9cc27','保存',4)
 | |
| 	go
 | |
| 
 | |
| alter table Report_WeekAndMonthReport_New add ReportType nvarchar(10)
 | |
| go
 | |
| 
 | |
| update Report_WeekAndMonthReport_New set ReportType='1'where ReportType is null
 | |
| go
 |