CNCEC_SUBQHSE_WUHUAN/DataBase/版本日志/SGGLDB_WH_2023-12-25.sql

31 lines
2.3 KiB
Transact-SQL

delete Sys_Menu where MenuId='E673FC27-74F1-479C-8DE1-950183566725'
delete Sys_Menu where MenuId='FAD7BF9B-B08A-473B-BEB9-CCAC3E5EA130'
delete Sys_Menu where MenuId='4822760B-395B-4979-B547-EA0D715C8A2C'
delete Sys_Menu where MenuId='7803218A-3E94-4715-814A-951CF2474E7C'
GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)VALUES('4822760B-395B-4979-B547-EA0D715C8A2C','三查四定提出人处理',null,'TestRun/BeforeTestRun/FourDecisionProposerHandle.aspx',16,'AD6E08B6-5571-4FFB-BDBE-9E6811770BD6','Menu_TestRun',0,1,1)
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)VALUES('E673FC27-74F1-479C-8DE1-950183566725','三查四定责任人销项',null,'TestRun/BeforeTestRun/FourDecisionResponsibilityConfirm.aspx',17,'AD6E08B6-5571-4FFB-BDBE-9E6811770BD6','Menu_TestRun',0,1,1)
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)VALUES('7803218A-3E94-4715-814A-951CF2474E7C','三查四定提出人确认',null,'TestRun/BeforeTestRun/FourDecisionProposerConfirm.aspx',18,'AD6E08B6-5571-4FFB-BDBE-9E6811770BD6','Menu_TestRun',0,1,1)
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)VALUES('FAD7BF9B-B08A-473B-BEB9-CCAC3E5EA130','三查四定确认',null,'TestRun/BeforeTestRun/FourDecisionOtherConfirm.aspx',19,'AD6E08B6-5571-4FFB-BDBE-9E6811770BD6','Menu_TestRun',0,1,1)
GO
--提出人/责任人处理状态(0:待提交1:提出人待处理2:提出人处理退回3:责任人待确认4:责任人退回5:责任人通过提出人待处理6:提出人退回7:提出人确认通过)
alter table PreRun_SubThreeChecksFourDecision add ResponsibilityProposeSatate int null
GO
--提出人处理时间
alter table PreRun_SubThreeChecksFourDecision add ProposeHandleData datetime NULL
GO
--三查四定编码
alter table PreRun_SubThreeChecksFourDecision add FourDecisionCode varchar(20) NULL
GO
alter table PreRun_SubSysWorkPackage add SystemId varchar(50) null
GO
--数据清理
truncate table PreRun_SubThreeChecksFourDecision
truncate table PreRun_DecisionConfirmRecords
truncate table PreRun_PropertySysPiping
truncate table PreRun_SubPropertySelect
truncate table PreRun_TechnologySysPiping
truncate table PreRun_SubTechnologySelect
truncate table PreRun_InstrumentSysPiping
truncate table PreRun_SubInstrumentSelect
GO