Comments (5)
支持 PageRowBouns,你代码有问题,city.id 空的时候,你的 sql 是
SELECT * FROM alc_city WHERE AND deleted_at is null
from pagehelper-spring-boot.
那个已经改了 ,还是没有结果,findById 可以查到
from pagehelper-spring-boot.
注意看你第二个截图第二行,参数是 null,也就是 id = null,正常不可能有结果吧。
from pagehelper-spring-boot.
把@Param
注解去掉,代码中直接用#{id}
from pagehelper-spring-boot.
嗯 。但是我 加了if 怎么还会解析null呢
from pagehelper-spring-boot.
Related Issues (20)
- pom依赖冲突
- 会出现rows有数据但是total的数量等于0的情况 HOT 4
- 大数据量时查询效率的问题
- spring boot3 启动有警告
- pageNum超出totalPages,分页总是返回最后一页的数据 HOT 1
- 依赖引不进来 HOT 2
- 1.4.7依赖有问题 HOT 3
- 关于分页时联表查询count会统计全部行数, 而不是左表行数. HOT 3
- GBase分页会自动把库表连接符冒号:替换成点号. HOT 2
- 通过pagehelper实现较个性化的分页需求 HOT 2
- 第三方依赖建议添加<optional>true</optional> HOT 1
- intellij idea警告try-with-resources HOT 1
- springboot使用1.4.7版本后启动报错 HOT 1
- startPage的orderBy存在字段重复排序问题
- setOrderBy(param.getOrderBy())里面的参数驼峰可以自动转换为下划线吗 HOT 2
- 支持mybatis-plus吗 HOT 4
- 今天从pagehelper.version 1.4.7 升级到 pagehelper.version2.1.0 出现的问题 HOT 9
- 大佬,请问什么时候适配spring boot 3.2呢? HOT 6
- 升级到最新版本后出现PageHelperAutoConfiguration Bad return type HOT 6
- 分页失效不执行 offset 子句 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagehelper-spring-boot.