添加查看swagger日志的界面

This commit is contained in:
RenKaiGe-Office
2018-08-07 11:54:36 +08:00
parent 17c2d93689
commit 2121f2134d
10 changed files with 325 additions and 7 deletions

View File

@@ -153,7 +153,7 @@ public class SQLHelper {
*/
public static Long getCount(final String sql, final Connection connection, final MappedStatement mappedStatement,
final Object parameterObject, final BoundSql boundSql, Log log) throws SQLException {
logger.info("count查询开始----"+System.currentTimeMillis());
logger.info("开始count查询----"+System.currentTimeMillis());
String dbName = getDBType();
final String countSql;
if ("oracle".equals(dbName)) {
@@ -194,7 +194,7 @@ public class SQLHelper {
}
return count;
} finally {
logger.info("oracle查询count结束----"+System.currentTimeMillis());
logger.info("count查询结束----"+System.currentTimeMillis());
if (rs != null) {
rs.close();
}