2025-09-03 17:15:56 执行时长:7.56秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-H') delete from GB_ProjectPlanCerti where ProjectNo = N'11-H' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-H') delete from GB_ProjectPlanCerti where ProjectNo = N'11-H' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11-H') delete from GB_CertiDoc where ProjectNo = N'11-H' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11-H-100') delete from GB_ProjectPlanEnergy where PlanNo = N'11-H-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_InvalidDoc where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM GB_ProjectPlan WHERE ID='509000239' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='509000239' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='509000239' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='509000239' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='509000239') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='509000239' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='509000239') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='509000239' 2025-09-03 17:16:04 执行时长:7.31秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' SELECT DISTINCT 审核计划.ID as [~ID~] ,[计划状态_计划状态].StatusName AS [计划状态],审核计划.[BeginDate] AS [审核开始日期],审核计划.[ContractNo] AS [合同编号],[审核类别_审核类别].ClassName AS [审核类别],[标准代码_认证标准].StandardCode AS [标准代码],[认可标志_认可标志].RecogName AS [认可标志],[组织名称_组织信息].CorpName AS [组织名称],审核计划.[PlanRemarks] AS [计划备注],审核计划.[EndDate] AS [审核结束日期],[合同来源_合同来源].OrgName AS [合同来源],审核计划.[ChangeInfo] AS [变更描述],审核计划.[PlanNo] AS [计划编号],审核计划.[CertiInfo] AS [证书信息],[评定状态_评定状态].StatusName AS [评定状态],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN Pub_ApproveClass [审核类别_审核类别] WITH(NOLOCK) ON 审核计划.ApproveClass = [审核类别_审核类别].ClassCode LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Base_OrgV [合同来源_合同来源] WITH(NOLOCK) ON 审核计划.Org = [合同来源_合同来源].Org LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode LEFT JOIN Pub_ApproveMode [审核方式_审核方式] WITH(NOLOCK) ON 审核计划.AuditForm = [审核方式_审核方式].ApproveModeCode LEFT JOIN Pub_Province [省份_省份] WITH(NOLOCK) ON 审核计划.Province = [省份_省份].ProvinceCode LEFT JOIN Pub_Code [风险等级_代码表] WITH(NOLOCK) ON 审核计划.RiskLevel = [风险等级_代码表].CodeID LEFT JOIN GB_CertificationProject [项目编号_认证项目] WITH(NOLOCK) ON 审核计划.ProjectNo = [项目编号_认证项目].ProjectNo LEFT JOIN Pub_ContactResult [联系结果_联系结果] WITH(NOLOCK) ON 审核计划.ContactResults = [联系结果_联系结果].ResultCode LEFT JOIN Pub_CertiField [认证领域_认证领域] WITH(NOLOCK) ON 审核计划.FieldCode = [认证领域_认证领域].FieldCode LEFT JOIN Base_UserV [阅卷人员_登录用户] WITH(NOLOCK) ON 审核计划.ReviewBy = [阅卷人员_登录用户].UserID LEFT JOIN Base_UserV [评定人员_登录用户] WITH(NOLOCK) ON 审核计划.DecideBy = [评定人员_登录用户].UserID LEFT JOIN Pub_Level [项目分级_案卷质量] WITH(NOLOCK) ON 审核计划.ProjectClassification = [项目分级_案卷质量].LevelCode LEFT JOIN Pub_Level [组长分级_案卷质量] WITH(NOLOCK) ON 审核计划.GroupLeaderGrading = [组长分级_案卷质量].LevelCode LEFT JOIN Pub_Level [案卷质量_案卷质量] WITH(NOLOCK) ON 审核计划.QualityOfCaseFiles = [案卷质量_案卷质量].LevelCode LEFT JOIN Pub_DecideResult [批准结论_批准结论] WITH(NOLOCK) ON 审核计划.DecideResult = [批准结论_批准结论].ResultCode LEFT JOIN Base_UserV [合同申请接收人_登录用户] WITH(NOLOCK) ON 审核计划.Receiver = [合同申请接收人_登录用户].UserID LEFT JOIN GB_TrackingResults [跟踪结果_跟踪结果] WITH(NOLOCK) ON 审核计划.TrackingResults = [跟踪结果_跟踪结果].StatusCode WHERE ([审核计划].[PlanStatus] > ''02'' AND [审核类型_审核类型].[TypeName] <> ''变更'') AND ([组织名称_组织信息].[CorpName] like ''%汉驱%'') ',@PageSize = 100, @PageCurrent = 1, @FdShow = '',@FdOrder = '[组织名称] DESC,[审核开始日期] DESC,[审核类别] DESC,[申请单号] ASC,[修改时间] DESC',@OnlyID = N' SELECT DISTINCT 审核计划.ID as [~ID~] ,[组织名称_组织信息].CorpName AS [组织名称],审核计划.[BeginDate] AS [审核开始日期],[审核类别_审核类别].ClassName AS [审核类别],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN Pub_ApproveClass [审核类别_审核类别] WITH(NOLOCK) ON 审核计划.ApproveClass = [审核类别_审核类别].ClassCode LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Base_OrgV [合同来源_合同来源] WITH(NOLOCK) ON 审核计划.Org = [合同来源_合同来源].Org LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode LEFT JOIN Pub_ApproveMode [审核方式_审核方式] WITH(NOLOCK) ON 审核计划.AuditForm = [审核方式_审核方式].ApproveModeCode LEFT JOIN Pub_Province [省份_省份] WITH(NOLOCK) ON 审核计划.Province = [省份_省份].ProvinceCode LEFT JOIN Pub_Code [风险等级_代码表] WITH(NOLOCK) ON 审核计划.RiskLevel = [风险等级_代码表].CodeID LEFT JOIN GB_CertificationProject [项目编号_认证项目] WITH(NOLOCK) ON 审核计划.ProjectNo = [项目编号_认证项目].ProjectNo LEFT JOIN Pub_ContactResult [联系结果_联系结果] WITH(NOLOCK) ON 审核计划.ContactResults = [联系结果_联系结果].ResultCode LEFT JOIN Pub_CertiField [认证领域_认证领域] WITH(NOLOCK) ON 审核计划.FieldCode = [认证领域_认证领域].FieldCode LEFT JOIN Base_UserV [阅卷人员_登录用户] WITH(NOLOCK) ON 审核计划.ReviewBy = [阅卷人员_登录用户].UserID LEFT JOIN Base_UserV [评定人员_登录用户] WITH(NOLOCK) ON 审核计划.DecideBy = [评定人员_登录用户].UserID LEFT JOIN Pub_Level [项目分级_案卷质量] WITH(NOLOCK) ON 审核计划.ProjectClassification = [项目分级_案卷质量].LevelCode LEFT JOIN Pub_Level [组长分级_案卷质量] WITH(NOLOCK) ON 审核计划.GroupLeaderGrading = [组长分级_案卷质量].LevelCode LEFT JOIN Pub_Level [案卷质量_案卷质量] WITH(NOLOCK) ON 审核计划.QualityOfCaseFiles = [案卷质量_案卷质量].LevelCode LEFT JOIN Pub_DecideResult [批准结论_批准结论] WITH(NOLOCK) ON 审核计划.DecideResult = [批准结论_批准结论].ResultCode LEFT JOIN Base_UserV [合同申请接收人_登录用户] WITH(NOLOCK) ON 审核计划.Receiver = [合同申请接收人_登录用户].UserID LEFT JOIN GB_TrackingResults [跟踪结果_跟踪结果] WITH(NOLOCK) ON 审核计划.TrackingResults = [跟踪结果_跟踪结果].StatusCode WHERE ([审核计划].[PlanStatus] > ''02'' AND [审核类型_审核类型].[TypeName] <> ''变更'') AND ([组织名称_组织信息].[CorpName] like ''%汉驱%'')' 2025-09-03 17:16:08 执行时长:11.3秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-F') delete from GB_ProjectPlanCerti where ProjectNo = N'11-F' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-F') delete from GB_ProjectPlanCerti where ProjectNo = N'11-F' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11-F') delete from GB_CertiDoc where ProjectNo = N'11-F' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11-F-200') delete from GB_ProjectPlanEnergy where PlanNo = N'11-F-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_InvalidDoc where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM GB_ProjectPlan WHERE ID='509000236' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='509000236' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='509000236' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='509000236' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='509000236') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='509000236' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='509000236') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='509000236' 2025-09-03 17:16:14 执行时长:6.24秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-H') delete from GB_ProjectPlanCerti where ProjectNo = N'11-H' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-H') delete from GB_ProjectPlanCerti where ProjectNo = N'11-H' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11-H') delete from GB_CertiDoc where ProjectNo = N'11-H' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11-H-200') delete from GB_ProjectPlanEnergy where PlanNo = N'11-H-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_InvalidDoc where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditProblem where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_AuditorContactRecord where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanCombine where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9') delete from GB_ProjectPlanTeam where TaskNo = N'30b9a5b42eed48989595a16b9db1b0b9' DELETE FROM GB_ProjectPlan WHERE ID='509000238' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='509000238' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='509000238' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='509000238' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='509000238') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='509000238' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='509000238') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='509000238' 2025-09-03 17:16:21 执行时长:6.72秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'00001-E') delete from GB_ProjectPlanCerti where ProjectNo = N'00001-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'00001-E') delete from GB_ProjectPlanCerti where ProjectNo = N'00001-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'00001-E') delete from GB_CertiDoc where ProjectNo = N'00001-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'00001-E-200') delete from GB_ProjectPlanEnergy where PlanNo = N'00001-E-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_InvalidDoc where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM GB_ProjectPlan WHERE ID='507001355' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='507001355' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='507001355' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='507001355' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='507001355') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='507001355' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='507001355') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='507001355' 2025-09-03 17:16:28 执行时长:6.52秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'00001-Q') delete from GB_ProjectPlanCerti where ProjectNo = N'00001-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'00001-Q') delete from GB_ProjectPlanCerti where ProjectNo = N'00001-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'00001-Q') delete from GB_CertiDoc where ProjectNo = N'00001-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'00001-Q-200') delete from GB_ProjectPlanEnergy where PlanNo = N'00001-Q-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_InvalidDoc where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM GB_ProjectPlan WHERE ID='507001356' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='507001356' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='507001356' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='507001356' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='507001356') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='507001356' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='507001356') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='507001356' 2025-09-03 17:16:37 执行时长:5.41秒 sql:select count(*) from ( SELECT DISTINCT 审核计划.ID as [~ID~] ,审核计划.[AcceptDate] AS [受理日期],[计划状态_计划状态].StatusName AS [计划状态],[评定状态_评定状态].StatusName AS [评定状态],[组织名称_组织信息].CorpName AS [组织名称],审核计划.[PlanNo] AS [计划编号],[标准代码_认证标准].StandardCode AS [标准代码],[审核类别_审核类别].ClassName AS [审核类别],审核计划.[BeginDate] AS [审核开始日期],审核计划.[EndDate] AS [审核结束日期],审核计划.[ApproveDays] AS [审核天数],审核计划.[AuditTeam] AS [审核组],[审核方式_审核方式].ApproveMode AS [审核方式],[合同来源_合同来源].OrgName AS [合同来源],[省份_省份].Province AS [省份],审核计划.[ProfessionalCode] AS [专业代码],审核计划.[CertiQty] AS [体系人数],[风险等级_代码表].CodeName AS [风险等级],审核计划.[PlanRemarks] AS [计划备注],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[ContractNo] AS [合同编号],审核计划.[DispatchBy] AS [审核派遣人],[认可标志_认可标志].RecogName AS [认可标志],审核计划.[ChangeInfo] AS [变更描述],审核计划.[CommitDate] AS [审核员交卷日期],审核计划.[CertiInfo] AS [证书信息],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode LEFT JOIN Pub_ApproveClass [审核类别_审核类别] WITH(NOLOCK) ON 审核计划.ApproveClass = [审核类别_审核类别].ClassCode LEFT JOIN Pub_ApproveMode [审核方式_审核方式] WITH(NOLOCK) ON 审核计划.AuditForm = [审核方式_审核方式].ApproveModeCode LEFT JOIN Base_OrgV [合同来源_合同来源] WITH(NOLOCK) ON 审核计划.Org = [合同来源_合同来源].Org LEFT JOIN Pub_Province [省份_省份] WITH(NOLOCK) ON 审核计划.Province = [省份_省份].ProvinceCode LEFT JOIN Pub_Code [风险等级_代码表] WITH(NOLOCK) ON 审核计划.RiskLevel = [风险等级_代码表].CodeID LEFT JOIN GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN GB_CertificationProject [项目编号_认证项目] WITH(NOLOCK) ON 审核计划.ProjectNo = [项目编号_认证项目].ProjectNo LEFT JOIN Pub_ContactResult [联系结果_联系结果] WITH(NOLOCK) ON 审核计划.ContactResults = [联系结果_联系结果].ResultCode LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_CertiField [认证领域_认证领域] WITH(NOLOCK) ON 审核计划.FieldCode = [认证领域_认证领域].FieldCode LEFT JOIN Base_UserV [阅卷人员_登录用户] WITH(NOLOCK) ON 审核计划.ReviewBy = [阅卷人员_登录用户].UserID LEFT JOIN Base_UserV [评定人员_登录用户] WITH(NOLOCK) ON 审核计划.DecideBy = [评定人员_登录用户].UserID LEFT JOIN Pub_Level [项目分级_案卷质量] WITH(NOLOCK) ON 审核计划.ProjectClassification = [项目分级_案卷质量].LevelCode LEFT JOIN Pub_Level [组长分级_案卷质量] WITH(NOLOCK) ON 审核计划.GroupLeaderGrading = [组长分级_案卷质量].LevelCode LEFT JOIN Pub_Level [案卷质量_案卷质量] WITH(NOLOCK) ON 审核计划.QualityOfCaseFiles = [案卷质量_案卷质量].LevelCode LEFT JOIN Pub_DecideResult [批准结论_批准结论] WITH(NOLOCK) ON 审核计划.DecideResult = [批准结论_批准结论].ResultCode LEFT JOIN Base_UserV [合同申请接收人_登录用户] WITH(NOLOCK) ON 审核计划.Receiver = [合同申请接收人_登录用户].UserID LEFT JOIN GB_TrackingResults [跟踪结果_跟踪结果] WITH(NOLOCK) ON 审核计划.TrackingResults = [跟踪结果_跟踪结果].StatusCode WHERE ([审核计划].[PlanStatus] > '02' AND [审核类型_审核类型].[TypeName] <> '变更' and ( [审核计划].org ='25' or [审核计划].org ='2501' )) AND (( [计划状态_计划状态].[StatusCode] >= '10') and ([组织名称_组织信息].[CorpName] like '%青岛上泓智能制造有限公司%')) ) as CurrentCount 2025-09-03 17:16:38 执行时长:10.61秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'00001-O') delete from GB_ProjectPlanCerti where ProjectNo = N'00001-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'00001-O') delete from GB_ProjectPlanCerti where ProjectNo = N'00001-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'00001-O') delete from GB_CertiDoc where ProjectNo = N'00001-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'00001-O-200') delete from GB_ProjectPlanEnergy where PlanNo = N'00001-O-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_InvalidDoc where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditProblem where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_AuditorContactRecord where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanCombine where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79') delete from GB_ProjectPlanTeam where TaskNo = N'ee2ed11a93d343b3923cbf511d932c79' DELETE FROM GB_ProjectPlan WHERE ID='507001357' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='507001357' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='507001357' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='507001357' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='507001357') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='507001357' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='507001357') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='507001357' 2025-09-03 17:18:09 执行时长:7.53秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-F') delete from GB_ProjectPlanCerti where ProjectNo = N'11-F' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11-F') delete from GB_ProjectPlanCerti where ProjectNo = N'11-F' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11-F') delete from GB_CertiDoc where ProjectNo = N'11-F' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11-F-100') delete from GB_ProjectPlanEnergy where PlanNo = N'11-F-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_InvalidDoc where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditProblem where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_AuditorContactRecord where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanCombine where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602') delete from GB_ProjectPlanTeam where TaskNo = N'b226dbcc3f144ca2847b677964d60602' DELETE FROM GB_ProjectPlan WHERE ID='509000237' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='509000237' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='509000237' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='509000237' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='509000237') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='509000237' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='509000237') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='509000237'