2017-05-08 11:38

@JFinal
波总,是否可以将总条数的sql语句改写为以下
String countSql = String.format("SELECT COUNT(*) AS count FROM (%s) AS dummy", originalSql);