From de5063b14e020a843e978544a515cd56e8982759 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Sun, 4 Jan 2026 15:43:07 +0800 Subject: [PATCH] =?UTF-8?q?bdleader=20=E6=9F=A5=E8=AF=A2=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rds/service/team/impl/RoomBdLeadServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/service/team/impl/RoomBdLeadServiceImpl.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/service/team/impl/RoomBdLeadServiceImpl.java index 08a7d5d2..8ab65e58 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/service/team/impl/RoomBdLeadServiceImpl.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/service/team/impl/RoomBdLeadServiceImpl.java @@ -6,6 +6,7 @@ import com.red.circle.other.infra.database.rds.dao.team.RoomBdLeadDAO; import com.red.circle.other.infra.database.rds.entity.team.RoomBdLead; import com.red.circle.other.infra.database.rds.service.team.RoomBdLeadService; +import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.Set; @@ -48,6 +49,10 @@ public class RoomBdLeadServiceImpl extends BaseServiceImpl listByUserIds(Set userIds) { + if (userIds == null || userIds.isEmpty()) { + return new ArrayList<>(); + } + return query() .in(RoomBdLead::getUserId, userIds) .list();