摘要:
分页插件pagehelper使用的默认count是select count(0) from (你的sql) table_count,也就是说,你用什么sql他就怎么count,但是问题在于,我的sql是用left join 的,这个查询的数据和我想要的total总数是不符的,所以需要手动给pageh 阅读全文
posted @ 2022-07-18 09:24
蓝海的bug本
阅读(2261)
评论(0)
推荐(0)
浙公网安备 33010602011771号