queryWrapper.or
时间: 2024-02-25 07:23:28 浏览: 75
queryWrapper.or是QueryWrapper类中的一个方法,用于在查询条件中使用or逻辑操作符连接多个条件。通过调用queryWrapper.or()方法,可以将多个条件以or的方式连接起来。这样可以在查询时满足其中一个条件即可返回结果。具体的使用方法可以参考引用中的代码示例。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [MybatisPlus中queryWrapper的or的使用](https://blog.csdn.net/menghuannvxia/article/details/127049644)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [QueryWrapper的lambda表达式使用OR](https://blog.csdn.net/coder_afly/article/details/128870428)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文