From eb40a8d9980f36fd7550506ffb7af6909644a4a8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-QD1SU79\\Xfu" Date: Fri, 25 Oct 2024 10:31:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=90=E8=85=BE=E6=A0=87=E5=87=86bom?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/IcsSBom_Rhtyon.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ICSSoft.FromERP/IcsSBom_Rhtyon.cs b/ICSSoft.FromERP/IcsSBom_Rhtyon.cs index 1e2428a..49fa25f 100644 --- a/ICSSoft.FromERP/IcsSBom_Rhtyon.cs +++ b/ICSSoft.FromERP/IcsSBom_Rhtyon.cs @@ -110,9 +110,9 @@ LEFT JOIN {1}.dbo.[CBO_BOMComponent] b With(NoLock) ON a.ErpId=b.Id LEFT JOIN {1}.dbo.CBO_BOMMaster c With(NoLock) ON b.BOMMaster=c.Id WHERE b.id is null and a.TenantId='{0}' -AND c.Org={2} +--AND c.Org={2} - DELETE ICSSBOM + DELETE FROM ICSSBOM WHERE TenantId='{0}' and ErpId IN ( SELECT ErpId from #tableICSSBOM) "; Dictionary values = new Dictionary();