出现问题现象 使用mybatisplus分页时候count语句出错,控制台打印的sql为### The error may involve defaultParameterMap, The error occurred while sett
使用mybatisplus分页时候count语句出错,控制台打印的sql为### The error may involve defaultParameterMap, The error occurred while setting parameters
SQL: SELECT COUNT() FROM common_sys_log
不知道为啥不是count(*)而是count()导致分页报错
因为mybatisplus 3.4.2版本的分页逻辑写的有问题,换到3.5.1就好了
来源地址:https://blog.csdn.net/weixin_39973810/article/details/128465673
--结束END--
本文标题: mybatis plus 分页查询出现count()
本文链接: https://www.lsjlt.com/news/372843.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-12
2024-05-12
2024-05-12
2024-05-12
2024-05-12
2024-05-12
2024-05-12
2024-05-11
2024-05-11
2024-05-11
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0