Merge Q-CAST-III-MR-154: 물건정보 상세 API 판매점 레벨 추가

This commit is contained in:
Jungpyo Lee 2024-10-24 04:16:42 +00:00 committed by Space Cloud
commit a812b55d49
No known key found for this signature in database
GPG Key ID: 2F4D45726235F749
2 changed files with 10 additions and 0 deletions

View File

@ -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;

View File

@ -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'))
</select>