From 24f28e3b50ebe5a61aa60b51e3e70a0ffed902dc Mon Sep 17 00:00:00 2001 From: ysCha Date: Thu, 29 Jan 2026 17:25:34 +0900 Subject: [PATCH] =?UTF-8?q?null=EC=B2=B4=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/interplug/qcast/biz/estimate/EstimateService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/interplug/qcast/biz/estimate/EstimateService.java b/src/main/java/com/interplug/qcast/biz/estimate/EstimateService.java index fcf9c4fe..b616d094 100644 --- a/src/main/java/com/interplug/qcast/biz/estimate/EstimateService.java +++ b/src/main/java/com/interplug/qcast/biz/estimate/EstimateService.java @@ -1763,7 +1763,7 @@ public class EstimateService { List circuitItemList11 = estimateResponse.getRoofInfo().getCircuitItemList(); - if (circuitItemList11.size() < 12){ + if (circuitItemList11 != null && circuitItemList11.size() < 12){ // 12개 미만인 경우, 나머지 아이템을 빈 값으로 채움 for (int k = circuitItemList11.size(); k < 11; k++) { ItemResponse emptyItem = new ItemResponse(); @@ -1778,7 +1778,7 @@ public class EstimateService { // 지붕면 목록에서 8개로 자름 List roofModuleList8 = estimateResponse.getPwrGnrSim().getRoofModuleList(); - if (roofModuleList8.size() < 9) { + if (roofModuleList8 != null && roofModuleList8.size() < 9) { // 9개 미만인 경우, 나머지 아이템을 빈 값으로 채움 for (int k = roofModuleList8.size(); k < 8; k++) { PwrGnrSimRoofResponse emptyRoof = new PwrGnrSimRoofResponse(); @@ -1792,7 +1792,7 @@ public class EstimateService { //pcs list 3개 List pcsList3 = estimateResponse.getPwrGnrSim().getPcsList(); - if (pcsList3.size() < 4) { + if (pcsList3 != null && pcsList3.size() < 4) { // 4개 미만인 경우, 나머지 아이템을 빈 값으로 채움 for (int k = pcsList3.size(); k < 4; k++) { PwrGnrSimRoofResponse emptyPcs = new PwrGnrSimRoofResponse();