We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd62ca commit 88bbd00Copy full SHA for 88bbd00
src/main/kotlin/plus/maa/backend/service/CopilotService.kt
@@ -274,10 +274,10 @@ class CopilotService(
274
if (operator.startsWith("~")) {
275
val exclude = operator.substring(1)
276
// 排除查询指定干员
277
- norQueries.add(Criteria.where("opers.name").regex(exclude))
+ norQueries.add(Criteria.where("opers.name").`is`(exclude))
278
} else {
279
// 模糊匹配查询指定干员
280
- andQueries.add(Criteria.where("opers.name").regex(operator))
+ andQueries.add(Criteria.where("opers.name").`is`(operator))
281
}
282
283
0 commit comments