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); } } }