From 5721d85013c6e8920aa329690336d8f6d43f5539 Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Thu, 13 Jun 2024 10:36:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=8F=90=E6=8A=A5=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index e2b89806..b6f0b0d0 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -1944,9 +1944,18 @@ namespace Tnb.ProductionMgr }); Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result2 = await _wmsPrdInstockHService.PrdInstock(wmsPrdInstockInput); + if (result2 != null) + { + Log.Information($"生产入库接口返回参数:${JsonConvert.SerializeObject(result2)}"); + } + else + { + Log.Information($"生产入库接口返回参数为null"); + + } if (result2.code != HttpStatusCode.OK) { - throw Oops.Bah(result2.msg); + throw Oops.Bah(result2.msg !=null ? result2.msg : "生产入库接口报错"); } if (prdMoTask.schedule_type == 2)