From d482a2bb4d4aaab54e167597430c0bd1338a96da Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 11 Dec 2025 20:31:53 +0800 Subject: [PATCH] =?UTF-8?q?userRunProfile=20=E5=88=A0=E9=99=A4=E7=BC=93?= =?UTF-8?q?=E5=AD=98id=E5=A4=84=E7=90=86=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/user/profile/impl/UserRunProfileServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java index 2516749c..f10f31bf 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/service/user/profile/impl/UserRunProfileServiceImpl.java @@ -438,7 +438,7 @@ public class UserRunProfileServiceImpl implements UserRunProfileService { @Override public void remove(Collection ids) { if (CollectionUtils.isNotEmpty(ids)) { - mongoTemplate.remove(Query.query(Criteria.where("id").in(ids)), UserRunProfile.class); + mongoTemplate.remove(Query.query(Criteria.where("_id").in(ids)), UserRunProfile.class); } }