From ff7f97c6dbb912b1ad5740ce37066dbdccacdb58 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 3 Jul 2024 13:45:09 +0900 Subject: [PATCH] =?UTF-8?q?toList()=20=EB=B3=B5=EA=B5=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/base/security/access/dao/AuthorityMapper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/security/access/dao/AuthorityMapper.java b/src/main/java/cokr/xit/base/security/access/dao/AuthorityMapper.java index e22bd03..047d343 100644 --- a/src/main/java/cokr/xit/base/security/access/dao/AuthorityMapper.java +++ b/src/main/java/cokr/xit/base/security/access/dao/AuthorityMapper.java @@ -2,6 +2,7 @@ package cokr.xit.base.security.access.dao; import java.util.List; import java.util.Map; +import java.util.stream.Collectors; import org.egovframe.rte.psl.dataaccess.mapper.Mapper; @@ -187,7 +188,7 @@ public interface AuthorityMapper extends AbstractMapper { List list = getUserAuths(params().set("userIDs", List.of(userID))); return list.stream() .map(row -> row.string("AUTH_ID")) - .toList(); + .collect(Collectors.toList()); } /**지정하는 권한에 사용자를 추가한다.