From f1ee8abcef123e368f3a015da04d17898fb8280c Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Tue, 25 Jun 2024 17:13:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=AD=BE=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tnb.ProductionMgr/PrdMaterialReceiptService.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs index 44923d5a..16986d1c 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMaterialReceiptService.cs @@ -35,7 +35,7 @@ namespace Tnb.ProductionMgr [ServiceModule(BizTypeId)] public class PrdMaterialReceiptService : BaseWareHouseService,IPrdMaterialReceiptService, IDynamicApiController, ITransient { - private const string BizTypeId = "26786119531541"; + private const string BizTypeId = "FloorCallMaterial34354738929685"; private readonly ISqlSugarRepository _repository; private readonly IUserManager _userManager; private readonly IOrganizeService _organizeService; diff --git a/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs b/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs index ce1d74be..edf40b91 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs @@ -30,6 +30,16 @@ namespace Tnb.WarehouseMgr { await _serviceMap[input.bizTypeId].ModifyAsync(input); } + else + { + foreach (var key in _serviceMap.Keys) + { + if (key.Contains(input.bizTypeId)) + { + await _serviceMap[input.bizTypeId].ModifyAsync(input); + } + } + } } } }