现场问题处理

This commit is contained in:
2024-09-12 14:07:03 +08:00
parent df00f0b1e2
commit c1b4d60778
10 changed files with 406 additions and 100 deletions

View File

@@ -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;
}