wms 服务消除warning

This commit is contained in:
alex
2023-07-04 09:45:22 +08:00
parent 5e36ac1a15
commit 418133e475
27 changed files with 63 additions and 63 deletions

View File

@@ -76,7 +76,7 @@ namespace Tnb.WarehouseMgr
{
await _db.Ado.BeginTranAsync();
JArray jArr = null;
JArray? jArr = null;
if (input.data.ContainsKey("tablefield115"))
{
jArr = JArray.Parse(input.data["tablefield115"].ToString()!);
@@ -256,7 +256,7 @@ namespace Tnb.WarehouseMgr
await _db.Ado.CommitTranAsync();
}
catch (Exception ex)
catch (Exception)
{
await _db.Ado.RollbackTranAsync();
throw;