2025-12-05 14:14:57 执行时长:7.91秒 sql:exec GB_PartnerBizStatistics '2025','ISC[S]0044' 2025-12-05 14:25:41 执行时长:7.08秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-E') delete from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-E-200') delete from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-E-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_InvalidDoc where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM GB_ProjectPlan WHERE ID='512000169' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='512000169' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='512000169' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='512000169' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='512000169') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='512000169' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='512000169') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='512000169' 2025-12-05 14:25:50 执行时长:9.47秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-Q') delete from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-Q-200') delete from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-Q-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_InvalidDoc where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM GB_ProjectPlan WHERE ID='512000171' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='512000171' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='512000171' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='512000171' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='512000171') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='512000171' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='512000171') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='512000171' 2025-12-05 14:25:59 执行时长:10.69秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' SELECT DISTINCT 认证申请.ID as [~ID~] ,认证申请.[ApplyNo] AS [申请单号],[项目状态_项目状态].Name AS [项目状态],[组织名称_组织信息].CorpName AS [组织名称],认证申请.[StaCodes] AS [标准代码],认证申请.[ContractNo] AS [合同编号],认证申请.[BackReason] AS [合评问题记录],认证申请.[ProjectLeader] AS [项目负责人],[合同来源_合同来源].OrgName AS [合同来源],认证申请.[ApplyDate] AS [申请日期],认证申请.[AcceptDate] AS [受理日期],认证申请.[CheckDate] AS [评审通过时间],认证申请.[StaffQty] AS [组织人数],认证申请.[CertiFee] AS [认证费],认证申请.[SupervisionFee] AS [监督费],[受理评审人_登录用户].UserName AS [受理评审人],[受理评审结论_代码表].CodeName AS [受理评审结论],认证申请.[UpdateOn] AS [修改时间],认证申请.[ApproveBy] AS [审核者] FROM GB_CertiApply 认证申请 WITH(NOLOCK) LEFT JOIN Base_UserV [申请人_登录用户] WITH(NOLOCK) ON 认证申请.ApplyBy = [申请人_登录用户].UserID LEFT JOIN Pub_ProjectStatus [项目状态_项目状态] WITH(NOLOCK) ON 认证申请.ProjectStatus = [项目状态_项目状态].Code LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 认证申请.Corp = [组织名称_组织信息].CorpID LEFT JOIN Base_OrgV [合同来源_合同来源] WITH(NOLOCK) ON 认证申请.Org = [合同来源_合同来源].Org LEFT JOIN Base_UserV [受理评审人_登录用户] WITH(NOLOCK) ON 认证申请.AcceptanceReviewer = [受理评审人_登录用户].UserID LEFT JOIN Pub_Code [受理评审结论_代码表] WITH(NOLOCK) ON 认证申请.Conclusion = [受理评审结论_代码表].CodeID LEFT JOIN GB_CertificationProject [认证项目] WITH(NOLOCK) ON 认证申请.ApplyNo = [认证项目].ApplyNo WHERE ((([认证项目].[FieldCode] = ''MMS'' OR [认证项目].[FieldCode] = ''R08'' OR [认证项目].[FieldCode] = ''R04'' OR [认证项目].[FieldCode] = ''EnMS''))) AND ([项目状态_项目状态].[Name] =''已评审'') ',@PageSize = 100, @PageCurrent = 1, @FdShow = '',@FdOrder = '[修改时间] DESC',@OnlyID = N' SELECT DISTINCT 认证申请.ID as [~ID~] ,认证申请.[UpdateOn] AS [修改时间] FROM GB_CertiApply 认证申请 WITH(NOLOCK) LEFT JOIN Base_UserV [申请人_登录用户] WITH(NOLOCK) ON 认证申请.ApplyBy = [申请人_登录用户].UserID LEFT JOIN Pub_ProjectStatus [项目状态_项目状态] WITH(NOLOCK) ON 认证申请.ProjectStatus = [项目状态_项目状态].Code LEFT JOIN GB_Corp [组织名称_组织信息] WITH(NOLOCK) ON 认证申请.Corp = [组织名称_组织信息].CorpID LEFT JOIN Base_OrgV [合同来源_合同来源] WITH(NOLOCK) ON 认证申请.Org = [合同来源_合同来源].Org LEFT JOIN Base_UserV [受理评审人_登录用户] WITH(NOLOCK) ON 认证申请.AcceptanceReviewer = [受理评审人_登录用户].UserID LEFT JOIN Pub_Code [受理评审结论_代码表] WITH(NOLOCK) ON 认证申请.Conclusion = [受理评审结论_代码表].CodeID LEFT JOIN GB_CertificationProject [认证项目] WITH(NOLOCK) ON 认证申请.ApplyNo = [认证项目].ApplyNo WHERE ((([认证项目].[FieldCode] = ''MMS'' OR [认证项目].[FieldCode] = ''R08'' OR [认证项目].[FieldCode] = ''R04'' OR [认证项目].[FieldCode] = ''EnMS''))) AND ([项目状态_项目状态].[Name] =''已评审'')' 2025-12-05 14:26:04 执行时长:11.19秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-O') delete from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-O-200') delete from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-O-200' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_InvalidDoc where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditProblem where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_AuditorContactRecord where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanCombine where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c') delete from GB_ProjectPlanTeam where TaskNo = N'ed07fcfcc8654db2b0f7d5b9fe82fd1c' DELETE FROM GB_ProjectPlan WHERE ID='512000173' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='512000173' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='512000173' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='512000173' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='512000173') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='512000173' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='512000173') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='512000173' 2025-12-05 14:26:17 执行时长:12.06秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-O') delete from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-O' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-O-100') delete from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-O-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_InvalidDoc where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM GB_ProjectPlan WHERE ID='512000174' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='512000174' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='512000174' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='512000174' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='512000174') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='512000174' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='512000174') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='512000174' 2025-12-05 14:26:17 执行时长:10.39秒 sql:exec [GB_SuperRateStatistics] '2025','ISC0601' 2025-12-05 14:26:25 执行时长:7.36秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-Q') delete from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-Q' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-Q-100') delete from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-Q-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_InvalidDoc where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM GB_ProjectPlan WHERE ID='512000172' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='512000172' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='512000172' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='512000172' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='512000172') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='512000172' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='512000172') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='512000172' 2025-12-05 14:26:32 执行时长:7.3秒 sql:DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCerti' and keyvalue in (select id from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E') delete from GB_ProjectPlanCerti where ProjectNo = N'11461-2025-QEO-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_CertiDoc' and keyvalue in (select id from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-E') delete from GB_CertiDoc where ProjectNo = N'11461-2025-QEO-E' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanEnergy' and keyvalue in (select id from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-E-100') delete from GB_ProjectPlanEnergy where PlanNo = N'11461-2025-QEO-E-100' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_InvalidDoc' and keyvalue in (select id from GB_InvalidDoc where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_InvalidDoc where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditProblem' and keyvalue in (select id from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditProblem where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_AuditorContactRecord' and keyvalue in (select id from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_AuditorContactRecord where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanCombine' and keyvalue in (select id from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanCombine where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM base_bizColumnattach WHERE accesspath='GB_ProjectPlanTeam' and keyvalue in (select id from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765') delete from GB_ProjectPlanTeam where TaskNo = N'7a37e4de4f2a4ed084e29849499ca765' DELETE FROM GB_ProjectPlan WHERE ID='512000170' DELETE FROM base_bizattach WHERE bizentityid='003002' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='003002' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='008001' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='008001' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='003003' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='003003' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='003004' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='003004' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='003005' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='003005' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='006001' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='006001' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='006002' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='006002' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='006003' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='006003' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='004003' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='004003' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='004004' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='004004' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='008002' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='008002' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='003006' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='003006' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='001035001' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='001035001' and keyvalue='512000170' DELETE FROM base_bizattach WHERE bizentityid='003025' and keyvalue='512000170' DELETE FROM base_bizColumnattach WHERE bizentityid='003025' and keyvalue='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003002' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='003002' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008001' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='008001' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003003' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='003003' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003004' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='003004' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003005' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='003005' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006001' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='006001' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006002' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='006002' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='006003' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='006003' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004003' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='004003' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='004004' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='004004' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='008002' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='008002' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003006' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='003006' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='001035001' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='001035001' and rowid='512000170' DELETE FROM wf_workflowinstancedetail where workflowinstanceid in (select id from wf_workflowinstance where bizentityid='003025' and rowid='512000170') DELETE FROM wf_workflowinstance where bizentityid='003025' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003002' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='003002' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008001' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='008001' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003003' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='003003' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003004' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='003004' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003005' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='003005' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006001' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='006001' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006002' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='006002' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='006003' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='006003' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004003' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='004003' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='004004' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='004004' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='008002' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='008002' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003006' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='003006' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='001035001' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='001035001' and rowid='512000170' DELETE FROM wf_bizflowinstancedetail where bizflowinstanceid in (select id from wf_bizflowinstance where bizentityid='003025' and rowid='512000170') DELETE FROM wf_bizflowinstance where bizentityid='003025' and rowid='512000170' 2025-12-05 14:36:44 执行时长:9.42秒 sql:exec [GB_AuditorSchedule] '2025-12-01','','','','','','','0.5','ISC1604' 2025-12-05 14:42:35 执行时长:5.28秒 sql:exec [GB_AuditorSchedule] '2025-12-01','','','','','','','0.5','ISC1604' 2025-12-05 14:45:47 执行时长:5.83秒 sql:EXEC dbo.P_ShowNew @QueryStr = N' 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'' ) ',@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_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'' )'