提交 3c64ebb2 编写于 作者: MaxKey单点登录官方's avatar MaxKey单点登录官方

fix count sql

上级 1379a06d
......@@ -212,6 +212,7 @@ public class MapperSqlProvider <T extends JpaBaseDomain>{
countSql.append("#{"+parameterMapping.getProperty()+"}");
selectSql=selectSql.substring(selectSql.indexOf("?")+1);
}
countSql.append(selectSql);
}
if(countSql.toString().toUpperCase().indexOf("DISTINCT")>0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册