Commit 5ac74567 authored by yanzg's avatar yanzg

修复异常提醒,从而正确的跟踪异常信息

parent e2549bb2
......@@ -153,7 +153,7 @@ public class DbExecuteImpl implements DbExecute {
// 开始记录日志
String url = String.format("%s:%s", sqlInfo.getTargetClass().getSimpleName(), sqlInfo.getSqlName());
String sqlText = DbPrintSqlDefault.getStringSql(sqlInfo.getSql(), sqlInfo.getParas());
LogInfoVo log = aspectLog.start(sqlInfo.getTargetClass(), "Sql", url, sqlText, true);
LogInfoVo log = aspectLog.start(sqlInfo.getTargetClass(), "Sql", url, sqlText, false);
// 开始时间
long start = System.currentTimeMillis();
Ref<Integer> row = new Ref<>(0);
......
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