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()); } /**지정하는 권한에 사용자를 추가한다.