From 0b9eeb996e4c3dd76bda9ec8a5c2183c4c3f4a64 Mon Sep 17 00:00:00 2001 From: ysCha Date: Wed, 1 Apr 2026 18:34:57 +0900 Subject: [PATCH] =?UTF-8?q?quotationErrSave=20api=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../interplug/qcast/biz/estimate/EstimateService.java | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 4621d767..d96c4628 100644 --- a/src/main/java/com/interplug/qcast/biz/estimate/EstimateService.java +++ b/src/main/java/com/interplug/qcast/biz/estimate/EstimateService.java @@ -19,6 +19,7 @@ import java.util.stream.Collectors; import com.interplug.qcast.biz.canvaspopupstatus.CanvasPopupStatusService; import com.interplug.qcast.biz.canvaspopupstatus.dto.CanvasPopupStatus; import com.interplug.qcast.biz.estimate.dto.*; + import com.interplug.qcast.biz.pwrGnrSimulation.dto.PwrGnrSimRoofResponse; import org.apache.commons.lang3.StringUtils; import org.apache.poi.ss.usermodel.Cell; @@ -324,6 +325,16 @@ public class EstimateService { List itemList = estimateRequest.getItemList(); if (itemList == null || itemList.isEmpty()) { + try { + Map errReq = new HashMap<>(); + errReq.put("objectNo", estimateRequest.getObjectNo()); + errReq.put("planNo", estimateRequest.getPlanNo()); + errReq.put("rejectRsn", "itemList is empty"); + errReq.put("regId", estimateRequest.getUserId()); + interfaceQsp.callApi(HttpMethod.POST, QSP_API_URL + "/api/master/quotationErrSave", errReq); + } catch (Exception e) { + log.warn("quotationErrSave failed: {}", e.getMessage()); + } throw new QcastException(ErrorCode.INVALID_INPUT_VALUE, message.getMessage("common.message.required.data", "itemList")); } -- 2.47.2