From efb6b4f0e81eb02596de5118394c7c04eeae68e8 Mon Sep 17 00:00:00 2001 From: HuanWang <894584459@qq.com> Date: Fri, 13 Dec 2024 21:47:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=BB=E8=BE=91=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/anwen/mongo/logic/replacer/LogicRemoveReplacer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongo-plus-core/src/main/java/com/anwen/mongo/logic/replacer/LogicRemoveReplacer.java b/mongo-plus-core/src/main/java/com/anwen/mongo/logic/replacer/LogicRemoveReplacer.java index c71d18d0..d916d5c3 100644 --- a/mongo-plus-core/src/main/java/com/anwen/mongo/logic/replacer/LogicRemoveReplacer.java +++ b/mongo-plus-core/src/main/java/com/anwen/mongo/logic/replacer/LogicRemoveReplacer.java @@ -36,7 +36,7 @@ public class LogicRemoveReplacer implements Replacer { if (CollectionLogicDeleteCache.getLogicIgnore()) { return method.invoke(target, args); } - MongoCollection collection = (MongoCollection) args[1]; + MongoCollection collection = (MongoCollection) args[2]; Class clazz = LogicDeleteHandler.getBeanClass(collection); if (Objects.isNull(clazz)) { return method.invoke(target, args); -- Gitee