발전시뮬레이션 PDF 다운로드 오류 수정

This commit is contained in:
DESKTOP-6ARNG1Q\dlsgk 2025-01-09 17:01:21 +09:00
parent f07a900144
commit 0ddcb9aa44

View File

@ -1355,7 +1355,8 @@ public class PwrGnrSimService {
int[] onlyData =
Arrays.stream(Arrays.copyOfRange(pwrGnrSimList, 0, pwrGnrSimList.length - 1))
.mapToInt(Integer::parseInt)
.map(s -> s.replace(",", "")) // 쉼표 제거
.mapToInt(Integer::parseInt) // 정수로 변환
.toArray();
int referenceValue = 300; // table 높이