물건정보 상세 API 작성자 판매점 아이디 조회 추가

This commit is contained in:
LAPTOP-L3VE7KK2\USER 2025-02-03 17:28:34 +09:00
parent f49b703e00
commit 9aafb5ccc8
2 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,9 @@ public class ObjectResponse {
@Schema(description = "생성일")
private String createDatetime;
@Schema(description = "생성자 판매점 ID")
private String createSaleStoreId;
@Schema(description = "생성자 아이디")
private String createUser;

View File

@ -308,6 +308,7 @@
, O.CREATE_DATETIME
, O.CREATE_USER
, O.LAST_EDIT_DATETIME
, (SELECT SALE_STORE_ID FROM M_USER WHERE USER_ID = O.CREATE_USER) AS CREATE_SALE_STORE_ID
, (SELECT NAME FROM M_USER WHERE USER_ID = O.CREATE_USER) AS CREATE_USER_NAME
, (SELECT NAME FROM M_USER WHERE USER_ID = O.LAST_EDIT_USER) AS LAST_EDIT_USER_NAME
, S.FIRST_AGENT_ID