Browse Source

锐腾标准bom同步修改

master
DESKTOP-QD1SU79\Xfu 1 month ago
parent
commit
eb40a8d998
  1. 4
      ICSSoft.FromERP/IcsSBom_Rhtyon.cs

4
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 LEFT JOIN {1}.dbo.CBO_BOMMaster c With(NoLock) ON b.BOMMaster=c.Id
WHERE b.id is null WHERE b.id is null
and a.TenantId='{0}' 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) WHERE TenantId='{0}' and ErpId IN ( SELECT ErpId from #tableICSSBOM)
"; ";
Dictionary<string, string> values = new Dictionary<string, string>(); Dictionary<string, string> values = new Dictionary<string, string>();

Loading…
Cancel
Save