toList() 복구

master
mjkhan21 5 months ago
parent 5791a22a3e
commit ff7f97c6db

@ -2,6 +2,7 @@ package cokr.xit.base.security.access.dao;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper; import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
@ -187,7 +188,7 @@ public interface AuthorityMapper extends AbstractMapper {
List<DataObject> list = getUserAuths(params().set("userIDs", List.of(userID))); List<DataObject> list = getUserAuths(params().set("userIDs", List.of(userID)));
return list.stream() return list.stream()
.map(row -> row.string("AUTH_ID")) .map(row -> row.string("AUTH_ID"))
.toList(); .collect(Collectors.toList());
} }
/** . /** .

Loading…
Cancel
Save