From a54b5ed113748785e985c0e1bd6cb896c611b74d Mon Sep 17 00:00:00 2001 From: lilili Date: Fri, 28 Jul 2023 14:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs index 0bf385b..fbb64d5 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs @@ -527,7 +527,7 @@ namespace ICSSoft.FromERP line.EATTRIBUTE = Info.LEIXING; line.VenCode = Info.TEST2;//供应商编码 line.VenName = Info.TEST3;//供应商名称 - line.ApplyID=Info.P_GW;//工位 + if (isNew == true) { db.ICSOApply.InsertOnSubmit(line); @@ -632,7 +632,7 @@ namespace ICSSoft.FromERP line.EATTRIBUTE = Info.LEIXING; line.VenCode = Info.TEST2;//供应商编码 line.VenName = Info.TEST3;//供应商名称 - line.ApplyID = Info.P_GW;//工位 + if (isNew == true) { db.ICSOApply.InsertOnSubmit(line);