QueryWrapper where in
时间: 2023-10-18 15:30:06 浏览: 84
QueryWrapper where in 是指在使用 QueryWrapper 进行条件查询时,通过使用 in 关键词筛选出符合条件的数据。具体来说,可以使用 QueryWrapper 的 in 方法来添加 where in 条件,比如:wrapper.in("字段名", 集合)。其中,"字段名" 是要进行筛选的字段,而集合是包含需要匹配的值的集合。这样就可以查询出符合指定字段在给定集合中的数据。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [LambdaQueryWrapper 的条件构造器方法对应SqlsetSqlSelect SELECT 查询字段where WHERE 语句,拼接 + WHERE...](https://blog.csdn.net/qq_36461699/article/details/121488317)[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* [解决myBatis中删除条件的拼接问题](https://download.csdn.net/download/weixin_38618784/14831585)[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 ]
阅读全文