Commit b5a4e2b8 authored by yanzg's avatar yanzg

下载视频

parent 517b419a
......@@ -80,8 +80,11 @@ public class DbPrintSql {
}
}
sql = getStringSql(sql, paras);
long end = System.currentTimeMillis();
long time = end - start;
// 打印SQL语句
Log.infoTag(DbPrintSql.class, String.format("%d row %s.%s", row, targetClass.getSimpleName(), sqlName), sql);
Log.infoTag(DbPrintSql.class, String.format("%d row %d ms %s.%s", row, time, targetClass.getSimpleName(), sqlName), sql);
} catch (Exception ex) {
Log.error(DbPrintSql.class, ex);
}
......
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