This commit is contained in:
2024-06-26 09:19:40 +08:00
parent f1ee8abcef
commit 4bf889a26a
2 changed files with 11 additions and 1 deletions

View File

@@ -24,6 +24,16 @@ namespace Tnb.WarehouseMgr
{ {
await _serviceMap[input.bizTypeId].ModifyAsync(input); await _serviceMap[input.bizTypeId].ModifyAsync(input);
} }
else
{
foreach (var key in _serviceMap.Keys)
{
if (key.Contains(input.bizTypeId))
{
await _serviceMap[key].ModifyAsync(input);
}
}
}
} }
} }

View File

@@ -36,7 +36,7 @@ namespace Tnb.WarehouseMgr
{ {
if (key.Contains(input.bizTypeId)) if (key.Contains(input.bizTypeId))
{ {
await _serviceMap[input.bizTypeId].ModifyAsync(input); await _serviceMap[key].ModifyAsync(input);
} }
} }
} }