From f80e95b077792ddc7013fa34a0408db238d29edd Mon Sep 17 00:00:00 2001 From: "LAPTOP-L3VE7KK2\\USER" Date: Thu, 24 Oct 2024 13:15:59 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=BC=EA=B1=B4=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=EC=83=81=EC=84=B8=20API=20=ED=8C=90=EB=A7=A4=EC=A0=90=20?= =?UTF-8?q?=EB=A0=88=EB=B2=A8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/interplug/qcast/biz/object/dto/ObjectResponse.java | 6 ++++++ src/main/resources/mappers/object/objectMapper.xml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/main/java/com/interplug/qcast/biz/object/dto/ObjectResponse.java b/src/main/java/com/interplug/qcast/biz/object/dto/ObjectResponse.java index fc07c155..45069931 100644 --- a/src/main/java/com/interplug/qcast/biz/object/dto/ObjectResponse.java +++ b/src/main/java/com/interplug/qcast/biz/object/dto/ObjectResponse.java @@ -109,6 +109,12 @@ public class ObjectResponse { @Schema(description = "갱신자") private String lastEditUserName; + @Schema(description = "판매점 1차점 ID") + private String firstAgentId; + + @Schema(description = "판매점 레벨") + private String saleStoreLevel; + // 플랜정보 @Schema(description = "플랜번호") private String planNo; diff --git a/src/main/resources/mappers/object/objectMapper.xml b/src/main/resources/mappers/object/objectMapper.xml index 2f5cb877..e382fe4c 100644 --- a/src/main/resources/mappers/object/objectMapper.xml +++ b/src/main/resources/mappers/object/objectMapper.xml @@ -255,7 +255,11 @@ , O.COLD_REGION_FLG , O.SALT_AREA_FLG , O.TEMP_FLG + , S.FIRST_AGENT_ID + , S.SALE_STORE_LEVEL FROM T_OBJECT O WITH (NOLOCK) + INNER JOIN M_SALES_STORE S WITH(NOLOCK) + ON O.SALE_STORE_ID = S.SALE_STORE_ID WHERE O.OBJECT_NO = #{objectNo} AND (O.DEL_FLG = '0' OR (O.TEMP_FLG = '1' AND O.TEMP_DEL_FLG = '0'))