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'