29 lines
1.0 KiB
Transact-SQL
29 lines
1.0 KiB
Transact-SQL
--老数据清理
|
|
truncate table PreRun_SubInspectTerm
|
|
truncate table PreRun_SubInspectTermItem
|
|
truncate table PreRun_InspectTailTerm
|
|
truncate table PreRun_InspectTermApproveRecords
|
|
GO
|
|
delete Sys_Menu where MenuId='AF88737F-D665-4C81-99D5-A07A8910C1E0'
|
|
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)VALUES('AF88737F-D665-4C81-99D5-A07A8910C1E0','检查表流转全部通过',null,'TestRun/BeforeTestRun/InspectWanderAboutAllPassList.aspx',14,'AD6E08B6-5571-4FFB-BDBE-9E6811770BD6','Menu_TestRun',0,1,1)
|
|
GO
|
|
--是否统一流转0:否1:是
|
|
alter table PreRun_SubInspectTerm add IsUnifyWanderAbout int null
|
|
GO
|
|
--统一流转时间
|
|
alter table PreRun_SubInspectTerm add UnifyWanderAboutData datetime null
|
|
GO
|
|
--统一流转审核意见
|
|
alter table PreRun_SubInspectTerm add UnifyWanderAboutOpinion varchar(max) null
|
|
GO
|
|
|
|
|
|
--清空数据
|
|
delete from CQMS_Performance
|
|
delete from CQMS_Performance_Child1
|
|
delete from CQMS_Performance_Child2
|
|
delete from CQMS_Performance_Child3
|
|
GO
|
|
--主表增加施工进度数量
|
|
alter table CQMS_Performance add SgCount int null
|
|
GO |