blinkfox / fenix

This is an extension library to the Spring Data JPA complex or dynamic SQL query. 这是一个比 MyBatis 更加强大的 Spring Data JPA 扩展库,为解决复杂动态 JPQL (或 SQL) 而生。https://blinkfox.github.io/fenix
https://blinkfox.github.io/fenix
Apache License 2.0
346 stars 72 forks source link

修改countSql在distinct情况下生成的sql不正确的问题 #29

Closed pengten closed 4 years ago

pengten commented 4 years ago

如SQL:select distinct a,b,c from table
之前生成后的countSql为: select count(distinct a) from table 正确应该为:select count(distinct a,b,c) from table