[KC-109] 모델관리 수정

This commit is contained in:
2026-01-09 12:06:11 +09:00
parent 6ff087f13c
commit e0ca2e7038
9 changed files with 40 additions and 61 deletions

View File

@@ -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;
}