MyBatis-Plus AbstractWrapper-notIn
2022-03-24 15:46 更新
MyBatis-Plus 条件构造器-AbstractWrapper
notIn(R column, Collection<?> value)
notIn(boolean condition, R column, Collection<?> value)
- 字段 NOT IN (value.get(0), value.get(1), ...)
- 例:
notIn("age",{1,2,3})--->age not in (1,2,3)
notIn(R column, Object... values)
notIn(boolean condition, R column, Object... values)
- 字段 NOT IN (v0, v1, ...)
- 例:
notIn("age", 1, 2, 3)--->age not in (1,2,3)
以上内容是否对您有帮助:
更多建议: