报错
$not和$and搭配使用报错---operator $not is not allowed around criteria chain element: { "$and。
完整报错:
HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException: operator $not is not allowed around criteria chain element: { "$and"
正确用法
我们来看一个例子:
我们有数据:</