执行代码清理,修复warning
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Tnb.WarehouseMgr
|
||||
[Caller("web")]
|
||||
public class PcStroageService : IWHStorageService
|
||||
{
|
||||
private static Dictionary<string, BaseWareHouseService> _serviceMap = new(StringComparer.OrdinalIgnoreCase);
|
||||
private static readonly Dictionary<string, BaseWareHouseService> _serviceMap = new(StringComparer.OrdinalIgnoreCase);
|
||||
static PcStroageService()
|
||||
{
|
||||
|
||||
@@ -21,7 +21,9 @@ namespace Tnb.WarehouseMgr
|
||||
public async Task Do(WareHouseUpInput input)
|
||||
{
|
||||
if (_serviceMap.ContainsKey(input.bizTypeId))
|
||||
{
|
||||
await _serviceMap[input.bizTypeId].ModifyAsync(input);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user