From 71f0c142218bcf12ebfe04922eb15c65896eb18f Mon Sep 17 00:00:00 2001 From: "LAPTOP-L3VE7KK2\\USER" Date: Fri, 1 Nov 2024 16:10:16 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=AC=EC=A0=81=EC=84=9C=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20API=20=EC=88=98=EC=A0=95=20(=ED=8C=90=EB=A7=A4?= =?UTF-8?q?=EC=A0=90=20=EC=A0=95=EB=B3=B4=20=EC=B6=94=EA=B0=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../qcast/biz/estimate/dto/EstimateResponse.java | 9 +++++++++ src/main/resources/mappers/estimate/estimateMapper.xml | 5 +++++ 2 files changed, 14 insertions(+) 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 1b2bbe1f..bc00f717 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 @@ -168,6 +168,15 @@ public class EstimateResponse { @Schema(description = "물건정보 비고") private String objectRemarks; + @Schema(description = "판매점 ID") + private String saleStoreId; + + @Schema(description = "판매점 1차점 ID") + private String firstAgentId; + + @Schema(description = "판매점 레벨") + private String saleStoreLevel; + // 데이터 목록 관련 정보 @Schema(description = "아이템 목록") List itemList; diff --git a/src/main/resources/mappers/estimate/estimateMapper.xml b/src/main/resources/mappers/estimate/estimateMapper.xml index 4aac47f7..8f4a0066 100644 --- a/src/main/resources/mappers/estimate/estimateMapper.xml +++ b/src/main/resources/mappers/estimate/estimateMapper.xml @@ -51,9 +51,14 @@ , O.OBJECT_NAME , O.OBJECT_NAME_OMIT , O.REMARKS AS OBJECT_REMARKS + , O.SALE_STORE_ID + , SS.FIRST_AGENT_ID + , SS.SALE_STORE_LEVEL FROM T_PLAN P WITH (NOLOCK) INNER JOIN T_OBJECT O WITH (NOLOCK) ON P.OBJECT_NO = O.OBJECT_NO + INNER JOIN M_SALES_STORE SS WITH(NOLOCK) + ON O.SALE_STORE_ID = SS.SALE_STORE_ID WHERE P.OBJECT_NO = #{objectNo} AND P.PLAN_NO = #{planNo} AND P.DEL_FLG = '0'