From fa4a32529c53e32ab24cc52f91cf4637f5767d49 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 28 May 2023 11:36:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E8=B7=AF=E7=BA=BF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=A2=9E=E5=8A=A0=E7=89=A9=E6=96=99=E7=BC=96=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FactorySystemApi/Controllers/MaterialTeamworkController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FactorySystemApi/Controllers/MaterialTeamworkController.cs b/FactorySystemApi/Controllers/MaterialTeamworkController.cs index cccd365..bbec648 100644 --- a/FactorySystemApi/Controllers/MaterialTeamworkController.cs +++ b/FactorySystemApi/Controllers/MaterialTeamworkController.cs @@ -406,6 +406,11 @@ namespace FactorySystemApi.Controllers material.FCode = FCode; result.Add("FMaterialCode", FCode); } + else + { + string FCode = inParam["FMaterialCode"].ToString(); + material.FCode = FCode; + } int materialId = MaterialTeamworkBll.InsertMaterial(material);