BUG
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user