MyBatis-Plus AbstractWrapper-notInSql
2022-03-24 15:46 更新
MyBatis-Plus 条件构造器-AbstractWrapper
notInSql(R column, String inValue)
notInSql(boolean condition, R column, String inValue)
- 字段 NOT IN ( sql语句 )
- 例:
notInSql("age", "1,2,3,4,5,6")--->age not in (1,2,3,4,5,6)
- 例:
notInSql("id", "select id from table where id < 3")--->id not in (select id from table where id < 3)
以上内容是否对您有帮助:
更多建议: