现场问题处理
This commit is contained in:
@@ -11,6 +11,7 @@ using JNPF.VisualDev;
|
||||
using JNPF.VisualDev.Entitys;
|
||||
using JNPF.VisualDev.Interfaces;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using SqlSugar;
|
||||
using Tnb.BasicData.Entities;
|
||||
@@ -255,8 +256,8 @@ namespace Tnb.WarehouseMgr
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Information($"空载具出库错误", ex.Message);
|
||||
Logger.Information($"空载具出库错误", ex.StackTrace);
|
||||
Logger.LogWarning($"空载具出库错误 {ex.Message}");
|
||||
Logger.LogWarning($"空载具出库错误 {ex.StackTrace}");
|
||||
await _db.Ado.RollbackTranAsync();
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user