2025-08-06 13:32:01 执行时长:6.66秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-E') delete from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-E-100') delete from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-E-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_InvalidDoc where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM GB_ProjectPlan WHERE ID='508000285' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='508000285' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='508000285' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='508000285' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='508000285') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='508000285' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='508000285') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='508000285' 2025-08-06 13:32:08 执行时长:6.74秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-EnMS') delete from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-EnMS' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-EnMS-100') delete from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-EnMS-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_InvalidDoc where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditProblem where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_AuditorContactRecord where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanCombine where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4') delete from GB_ProjectPlanTeam where TaskNo = N'f12174dffeda4465a1adc4be1c20f6f4' DELETE FROM GB_ProjectPlan WHERE ID='508000287' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='508000287' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='508000287' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='508000287' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='508000287') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='508000287' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='508000287') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='508000287' 2025-08-06 13:32:16 执行时长:7.52秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-E') delete from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-E-200') delete from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-E-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_InvalidDoc where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM GB_ProjectPlan WHERE ID='508000284' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='508000284' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='508000284' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='508000284' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='508000284') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='508000284' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='508000284') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='508000284' 2025-08-06 13:32:23 执行时长:6.81秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS') delete from GB_ProjectPlanCerti where ProjectNo = N'10993-2025-EEnMS-EnMS' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-EnMS') delete from GB_CertiDoc where ProjectNo = N'10993-2025-EEnMS-EnMS' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-EnMS-200') delete from GB_ProjectPlanEnergy where PlanNo = N'10993-2025-EEnMS-EnMS-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_InvalidDoc where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditProblem where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_AuditorContactRecord where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanCombine where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45') delete from GB_ProjectPlanTeam where TaskNo = N'e76b92ef2f694aa883573e5abcf34d45' DELETE FROM GB_ProjectPlan WHERE ID='508000286' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='508000286' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='508000286' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='508000286' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='508000286') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='508000286' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='508000286') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='508000286' 2025-08-06 13:45:54 执行时长:7.13秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' SELECT DISTINCT 审核计划.ID as [~ID~] ,[计划状态_计划状态].StatusName AS [计划状态],[组织名称_组织信息].CorpName AS [组织名称],审核计划.[CertiQty] AS [体系人数],[标准代码_认证标准].StandardCode AS [标准代码],[审核类别_审核类别].ClassName AS [审核类别],审核计划.[BeginDate] AS [审核开始日期],审核计划.[EndDate] AS [审核结束日期],审核计划.[ApproveDays] AS [审核天数],审核计划.[AuditTeam] AS [审核组],审核计划.[PlanNo] AS [计划编号],[审核方式_审核方式].ApproveMode AS [审核方式],[合同来源_合同来源].OrgName AS [合同来源],[省份_省份].Province AS [省份],审核计划.[ProfessionalCode] AS [专业代码],审核计划.[IssuesToBeNoted] AS [审核需关注问题],审核计划.[PlanRemarks] AS [计划备注],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[ContractNo] AS [合同编号],[认可标志_认可标志].RecogName AS [认可标志],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 ) ',@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 GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 )' 2025-08-06 13:45:54 执行时长:5.14秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' SELECT DISTINCT 审核计划.ID as [~ID~] ,[计划状态_计划状态].StatusName AS [计划状态],[组织名称_组织信息].CorpName AS [组织名称],审核计划.[CertiQty] AS [体系人数],[标准代码_认证标准].StandardCode AS [标准代码],[审核类别_审核类别].ClassName AS [审核类别],审核计划.[BeginDate] AS [审核开始日期],审核计划.[EndDate] AS [审核结束日期],审核计划.[ApproveDays] AS [审核天数],审核计划.[AuditTeam] AS [审核组],审核计划.[PlanNo] AS [计划编号],[审核方式_审核方式].ApproveMode AS [审核方式],[合同来源_合同来源].OrgName AS [合同来源],[省份_省份].Province AS [省份],审核计划.[ProfessionalCode] AS [专业代码],审核计划.[IssuesToBeNoted] AS [审核需关注问题],审核计划.[PlanRemarks] AS [计划备注],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[ContractNo] AS [合同编号],[认可标志_认可标志].RecogName AS [认可标志],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 ) ',@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 GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 )' 2025-08-06 13:45:55 执行时长:7.89秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' SELECT DISTINCT 审核计划.ID as [~ID~] ,[计划状态_计划状态].StatusName AS [计划状态],[组织名称_组织信息].CorpName AS [组织名称],审核计划.[CertiQty] AS [体系人数],[标准代码_认证标准].StandardCode AS [标准代码],[审核类别_审核类别].ClassName AS [审核类别],审核计划.[BeginDate] AS [审核开始日期],审核计划.[EndDate] AS [审核结束日期],审核计划.[ApproveDays] AS [审核天数],审核计划.[AuditTeam] AS [审核组],审核计划.[PlanNo] AS [计划编号],[审核方式_审核方式].ApproveMode AS [审核方式],[合同来源_合同来源].OrgName AS [合同来源],[省份_省份].Province AS [省份],审核计划.[ProfessionalCode] AS [专业代码],审核计划.[IssuesToBeNoted] AS [审核需关注问题],审核计划.[PlanRemarks] AS [计划备注],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[ContractNo] AS [合同编号],[认可标志_认可标志].RecogName AS [认可标志],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 ) ',@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 GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 )' 2025-08-06 13:45:55 执行时长:5.44秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' SELECT DISTINCT 审核计划.ID as [~ID~] ,[计划状态_计划状态].StatusName AS [计划状态],[组织名称_组织信息].CorpName AS [组织名称],审核计划.[CertiQty] AS [体系人数],[标准代码_认证标准].StandardCode AS [标准代码],[审核类别_审核类别].ClassName AS [审核类别],审核计划.[BeginDate] AS [审核开始日期],审核计划.[EndDate] AS [审核结束日期],审核计划.[ApproveDays] AS [审核天数],审核计划.[AuditTeam] AS [审核组],审核计划.[PlanNo] AS [计划编号],[审核方式_审核方式].ApproveMode AS [审核方式],[合同来源_合同来源].OrgName AS [合同来源],[省份_省份].Province AS [省份],审核计划.[ProfessionalCode] AS [专业代码],审核计划.[IssuesToBeNoted] AS [审核需关注问题],审核计划.[PlanRemarks] AS [计划备注],[申请单号_认证申请].ApplyNo AS [申请单号],审核计划.[ContractNo] AS [合同编号],[认可标志_认可标志].RecogName AS [认可标志],审核计划.[UpdateOn] AS [修改时间] FROM GB_ProjectPlan 审核计划 WITH(NOLOCK) LEFT JOIN Pub_PlanStatus [计划状态_计划状态] WITH(NOLOCK) ON 审核计划.PlanStatus = [计划状态_计划状态].StatusCode LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 ) ',@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 GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 审核计划.Corp = [组织名称_组织信息].CorpID LEFT JOIN Pub_CertiType [标准代码_认证标准] WITH(NOLOCK) ON 审核计划.StandardCode = [标准代码_认证标准].ID 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 GB_CertiApply [申请单号_认证申请] WITH(NOLOCK) ON 审核计划.ApplyNo = [申请单号_认证申请].ApplyNo LEFT JOIN Pub_Recog [认可标志_认可标志] WITH(NOLOCK) ON 审核计划.RecognitionMark = [认可标志_认可标志].RecogCode LEFT JOIN Pub_AssessStatus [评定状态_评定状态] WITH(NOLOCK) ON 审核计划.AssessStatus = [评定状态_评定状态].StatusCode LEFT JOIN Pub_ApproveType [审核类型_审核类型] WITH(NOLOCK) ON 审核计划.ApproveType = [审核类型_审核类型].TypeCode 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 ( 1=1 )'