抛出错误

parent 3956e1dd
......@@ -444,7 +444,7 @@ public IEnumerable<T> QueryData<T>(sys_hospitalconfig config, string execsql, pe
}
catch (Exception ex)
{
logger.LogError($"SQL发生异常:{execsql};{ ex }");
logService.ReturnTheLog(allot.ID, allot.ID.ToString(), 2, "SQL执行错误", ex.Message, 3, isSingle);
throw;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment