From 46f376a69ae67821baefe93b40a401a31e488c9d Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Mon, 2 Sep 2024 17:14:23 +0800 Subject: [PATCH 1/2] bug --- ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index 19fdabf2..349fc3a2 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -2476,7 +2476,7 @@ namespace Tnb.ProductionMgr throw Oops.Bah(result2.msg !=null ? result2.msg : "生产入库接口报错"); } //来源erp需要调接口 - if (prdMo.data_sources == "1") + if (prdMo.mo_source == "1") { List unitDatas = await db.Queryable() .LeftJoin((x, y) => x.Id == y.DictionaryTypeId) From 0d2b0592e4f7519c626281ed94ecfc8db2a04d72 Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Tue, 3 Sep 2024 09:03:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E6=94=B9=E5=9B=9E=E6=B5=8B=E8=AF=95=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index 349fc3a2..d6b10c39 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -2551,8 +2551,8 @@ namespace Tnb.ProductionMgr thirdWebapiRecord.third_name = WmsWareHouseConst.BIP; thirdWebapiRecord.name = "生产报告"; thirdWebapiRecord.method = "POST"; - // thirdWebapiRecord.url = config.value+"uapws/rest/pwrnew/save"; - thirdWebapiRecord.url = WmsWareHouseConst.BIP_DOMAIN+"uapws/rest/pwrnew/save"; + thirdWebapiRecord.url = config.value+"uapws/rest/pwrnew/save"; + // thirdWebapiRecord.url = WmsWareHouseConst.BIP_DOMAIN+"uapws/rest/pwrnew/save"; thirdWebapiRecord.request_data = JsonConvert.SerializeObject(erpRequestData); thirdWebapiRecord.create_time = DateTime.Now;