From bbc495591409c2bddeab51e0468f76bc72edde7b Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 29 Aug 2023 09:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E5=90=8C=E8=B7=AF=E7=BA=BF=E7=89=A9?= =?UTF-8?q?=E6=96=99=E5=88=86=E7=B1=BB=E4=BF=9D=E5=AD=98=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FactorySystemBll/ViewBll.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FactorySystemBll/ViewBll.cs b/FactorySystemBll/ViewBll.cs index 4ad9c1c..09adbda 100644 --- a/FactorySystemBll/ViewBll.cs +++ b/FactorySystemBll/ViewBll.cs @@ -618,7 +618,7 @@ namespace FactorySystemBll infoList[i]["FDataID"] = infoList[i]["FMaterialID"]; infoList[i].Remove("FMaterialID"); infoList[i].Add("FType", 2); - result += db.Updateable(infoList[i]).AS("TFS_MaterialInfo").WhereColumns("FType", "FDataID").ExecuteCommand(); + result += db.Updateable(infoList[i]).AS("TFS_MaterialInfo").IgnoreColumns("FID").WhereColumns("FType", "FDataID").ExecuteCommand(); } result += UnionModifyData(infoList, "TFS_MaterialInfo", teamId, db, "FDataID");