LambdaQueryWrapper 不等于
时间: 2023-08-19 17:13:45 浏览: 132
LambdaQueryWrapper的不等于操作可以使用ne方法来实现。例如,eq("id", 1).ne("name", "张三")表示id等于1且name不等于"张三"。
#### 引用[.reference_title]
- *1* *2* [LambdaQueryWrapper构建器](https://blog.csdn.net/ssj15654/article/details/127834049)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [lambdaQueryWrapper常用方法](https://blog.csdn.net/qq_24309787/article/details/126838136)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文