bdleader 查询报错修复
This commit is contained in:
parent
0b0e859fcc
commit
de5063b14e
@ -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<RoomBdLeadDAO, RoomBd
|
||||
|
||||
@Override
|
||||
public List<RoomBdLead> listByUserIds(Set<Long> userIds) {
|
||||
if (userIds == null || userIds.isEmpty()) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
return query()
|
||||
.in(RoomBdLead::getUserId, userIds)
|
||||
.list();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user