[KC-109] 모델관리 수정
This commit is contained in:
@@ -23,7 +23,6 @@ import java.nio.file.Paths;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.data.domain.Page;
|
||||
@@ -343,10 +342,11 @@ public class MapSheetMngService {
|
||||
public List<Integer> findMapSheetMngDoneYyyyList() {
|
||||
|
||||
List<MngDto> mngList = mapSheetMngCoreService.findMapSheetMngList();
|
||||
List<Integer> yearList = mngList.stream()
|
||||
.filter(dto -> "DONE".equals(dto.getMngState()))
|
||||
.map(dto -> dto.getMngYyyy()) // 날짜 객체에서 연도(int)만 추출
|
||||
.toList();
|
||||
List<Integer> yearList =
|
||||
mngList.stream()
|
||||
.filter(dto -> "DONE".equals(dto.getMngState()))
|
||||
.map(dto -> dto.getMngYyyy()) // 날짜 객체에서 연도(int)만 추출
|
||||
.toList();
|
||||
|
||||
return yearList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user