会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
moyu1011
博客园
首页
新随笔
联系
订阅
管理
2023年2月20日
Jpa 使用Specification构建复杂查询
摘要: JPA and中添加or查询条件 eg: 查询当前用户支付状态为1,任务运行状态为1或0的所有任务信息。 sql: select * from task where user_id=1 and billing_status=1 and status=1 or 0 怎样将查询条件封装到jpa的查询对象
阅读全文
posted @ 2023-02-20 19:16 OraCat
阅读(102)
评论(0)
推荐(0)
编辑
公告