From 4bf889a26a466a0a078cc68dca68b6d11bfcc141 Mon Sep 17 00:00:00 2001 From: zhou keda <1315948824@qq.com> Date: Wed, 26 Jun 2024 09:19:40 +0800 Subject: [PATCH] BUG --- WarehouseMgr/Tnb.WarehouseMgr/PcStroageService.cs | 10 ++++++++++ WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/PcStroageService.cs b/WarehouseMgr/Tnb.WarehouseMgr/PcStroageService.cs index 86004fe1..2e918e44 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/PcStroageService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/PcStroageService.cs @@ -24,6 +24,16 @@ namespace Tnb.WarehouseMgr { await _serviceMap[input.bizTypeId].ModifyAsync(input); } + else + { + foreach (var key in _serviceMap.Keys) + { + if (key.Contains(input.bizTypeId)) + { + await _serviceMap[key].ModifyAsync(input); + } + } + } } } diff --git a/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs b/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs index edf40b91..62c2ba44 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/PdaStroageService.cs @@ -36,7 +36,7 @@ namespace Tnb.WarehouseMgr { if (key.Contains(input.bizTypeId)) { - await _serviceMap[input.bizTypeId].ModifyAsync(input); + await _serviceMap[key].ModifyAsync(input); } } }