소스 검색

구매요청현황의 작성자 아이디값 추가

dwkim 2 년 전
부모
커밋
764afe4e3e

+ 1 - 0
src/main/java/com/oqpo/api/service/pomng/PchReqService.java

@@ -165,6 +165,7 @@ public class PchReqService extends CommonService {
165 165
                         .pchReqMgrNm(m.getPchReqMgrNm() == null ? "" :m.getPchReqMgrNm() )
166 166
                         .dlvReqDt(m.getDlvReqDt() == null ? "" :m.getDlvReqDt() )
167 167
                         .whsLocationNm(m.getWhsNm() == null ? "" : m.getWhsNm()  + "-" + m.getLocationNm())
168
+                        .pchReqMgrId(m.getPchReqMgrId() == null ? "" : m.getPchReqMgrId())
168 169
                         .build())
169 170
                 .collect(Collectors.toList());
170 171
         return GridResponse.toDTO(gridPage, gridTotal, gridRecords, gridRows);

+ 4 - 0
src/main/java/com/oqpo/api/web/dto/response/pomng/pchReq/PchReqSearchListResponse.java

@@ -62,4 +62,8 @@ public class PchReqSearchListResponse {
62 62
     @ApiModelProperty(value = "납품장소")
63 63
     private String whsLocationNm;
64 64
 
65
+    @ApiModelProperty(value = "구매요청자아이디")
66
+    private String pchReqMgrId;
67
+
68
+
65 69
 }

+ 1 - 0
src/main/resources/mybatis/sqlmaps/pomng/PchReq.xml

@@ -12,6 +12,7 @@
12 12
                 ,whs_id, fn_whs_nm(brand_id, whs_id) as whs_nm
13 13
                 ,location, fn_whs_location_nm(brand_id, whs_id, location) as location_nm
14 14
                 ,date_format(pch_req_dt,'%Y.%m.%d') as pch_req_dt, store_id
15
+                ,pch_req_mgr_id
15 16
         from   pch_req_base_info
16 17
         where  brand_id = #{sBrandId}
17 18
         <if test="sStoreId == null or sStoreId == ''">