mybatis-plus3.4.2分页与pagehelper高版本的jsqlparser包冲突问题

771 阅读1分钟

写了个基本的分页,发现查询总数的sql不是select count(*),而是select count(),导致分页报错

去github上面找到了答案,原来是包冲突了,最后去xml找到com.github.pagehelper依赖,移除jsqlparser包,问题得已解决

答案来源:github.com/baomidou/my…