From 27cbe391ac6c03d247318ba22faa8bde54460255 Mon Sep 17 00:00:00 2001 From: basssy Date: Wed, 19 Mar 2025 17:36:27 +0900 Subject: [PATCH] =?UTF-8?q?#925=20=EA=B2=AC=EC=A0=81=EC=84=9C=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=20=EA=B0=80=EA=B2=A9=ED=91=9C=EC=8B=9C=20=EC=98=B5?= =?UTF-8?q?=EC=85=98=20&=20=ED=94=84=EB=9D=BC=EC=9D=B4=EC=8B=B1=20?= =?UTF-8?q?=ED=98=B8=EC=B6=9C=20=ED=8C=8C=EB=9D=BC=EB=AF=B8=ED=84=B0=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../qcast/biz/estimate/dto/EstimateResponse.java | 8 +++++++- src/main/resources/mappers/estimate/estimateMapper.xml | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/interplug/qcast/biz/estimate/dto/EstimateResponse.java b/src/main/java/com/interplug/qcast/biz/estimate/dto/EstimateResponse.java index a3441243..e3b2bfea 100644 --- a/src/main/java/com/interplug/qcast/biz/estimate/dto/EstimateResponse.java +++ b/src/main/java/com/interplug/qcast/biz/estimate/dto/EstimateResponse.java @@ -1,9 +1,9 @@ package com.interplug.qcast.biz.estimate.dto; +import java.util.List; import com.interplug.qcast.biz.file.dto.FileResponse; import com.interplug.qcast.biz.pwrGnrSimulation.dto.PwrGnrSimResponse; import io.swagger.v3.oas.annotations.media.Schema; -import java.util.List; import lombok.Data; @Data @@ -273,4 +273,10 @@ public class EstimateResponse { @Schema(description = "발전시뮬레이션 정보") PwrGnrSimResponse pwrGnrSim; + + @Schema(description = "SAP STORE ID") + private String sapSaleStoreId; + + @Schema(description = "SAP STORE CD") + private String sapSalesStoreCd; } diff --git a/src/main/resources/mappers/estimate/estimateMapper.xml b/src/main/resources/mappers/estimate/estimateMapper.xml index ca6a40d0..40b2c485 100644 --- a/src/main/resources/mappers/estimate/estimateMapper.xml +++ b/src/main/resources/mappers/estimate/estimateMapper.xml @@ -60,6 +60,8 @@ , O.OBJECT_NAME_OMIT , O.REMARKS AS OBJECT_REMARKS , O.SALE_STORE_ID + , B.SALE_STORE_ID AS SAP_SALE_STORE_ID + , B.SAP_SALES_STORE_CD , ISNULL(OI.COLD_REGION_FLG, '0') AS COLD_REGION_FLG , ISNULL(OI.SALT_AREA_FLG, '0') AS SALT_AREA_FLG , SS.FIRST_AGENT_ID @@ -74,6 +76,8 @@ ON P.OBJECT_NO = O.OBJECT_NO INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK) ON O.OBJECT_NO = OI.OBJECT_NO + LEFT OUTER JOIN M_SALES_STORE_ID_FOR_SAP B + ON O.SALE_STORE_ID = B.SALE_STORE_ID INNER JOIN M_SALES_STORE SS WITH(NOLOCK) ON O.SALE_STORE_ID = SS.SALE_STORE_ID WHERE P.OBJECT_NO = #{objectNo}