摘要: 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) 编辑