Procházet zdrojové kódy

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-api

dwkim před 2 roky
rodič
revize
daa006eee2

+ 2 - 0
src/main/java/com/oqpo/api/entity/pomng/PchWishListItemEntity.java

@@ -23,6 +23,8 @@ public class PchWishListItemEntity implements Serializable {
23 23
     private String unitAmt; 
24 24
     private String unit;
25 25
     private String brandUnitUnqNo; 
26
+    private String storeUnitUnqNo; 
27
+    private String unitGubun; 
26 28
 }
27 29
 
28 30
     

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

@@ -633,6 +633,8 @@ public class PchReqService extends CommonService {
633 633
                     .unitAmt(m.getUnitAmt())
634 634
                     .unit(m.getUnit())
635 635
                     .brandUnitUnqNo(m.getBrandUnitUnqNo())
636
+                    .storeUnitUnqNo(m.getStoreUnitUnqNo())
637
+                    .unitGubun(m.getUnitGubun())
636 638
                 .build()).collect(Collectors.toList()
637 639
             );
638 640
         return SelectResponse.toDTO(selectRows);

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

@@ -28,5 +28,9 @@ public class PchWishListItem {
28 28
     private String unit;  
29 29
     @ApiModelProperty(value = "품목식별자")
30 30
     private String brandUnitUnqNo;  
31
+    @ApiModelProperty(value = "매장단가")
32
+    private String storeUnitUnqNo;  
33
+    @ApiModelProperty(value = "구분")
34
+    private String unitGubun;  
31 35
 
32 36
 }

+ 1 - 1
src/main/resources/mybatis/sqlmaps/oper/UserMng.xml

@@ -281,7 +281,7 @@
281 281
         from np_auth_info
282 282
         where auth_tp_cd = #{authTpCd}
283 283
         <if test="shmtColProcType == '10'">
284
-        and   autn_no not like concat('%','_SL')
284
+        and   auth_no not like concat('%','_SL')
285 285
         </if>
286 286
         <if test="shmtColProcType == '20'">
287 287
         and   auth_no not in ('BRAND_MPOMNG' ,  'BRAND_MRTNMNG' ,  'BRAND_POMNG' ,  'BRAND_RTNMNG')

+ 3 - 2
src/main/resources/mybatis/sqlmaps/pomng/PchReq.xml

@@ -343,7 +343,8 @@
343 343
     <select id="selectWishListItem" resultType="com.oqpo.api.entity.pomng.PchWishListItemEntity">
344 344
         SELECT mgnt.WISH_LIST_MGNT_NO, mgnt.WISH_LIST_NM
345 345
             , mgnt.STORE_ID, FN_STORE_NM(#{brandId}, #{storeId}) AS store_nm
346
-            , ptcl.ITEM_ID, item.ITEM_NM, unit.UNIT_AMT, unit.UNIT
346
+            , ptcl.ITEM_ID, item.ITEM_NM, unit.UNIT_AMT, unit.UNIT, unit.STORE_UNIT_UNQ_NO, 'S' as UNIT_GUBUN
347
+            , fn_code_nm('PODR_PSSBL_DVSN',item.podr_pssbl_dvsn) AS podr_pssbl_dvsn_nm
347 348
             , bitem.BRAND_UNIT_UNQ_NO
348 349
         FROM 
349 350
             store_wish_list_mgnt mgnt
@@ -352,7 +353,7 @@
352 353
             INNER JOIN store_item_unit_info unit 
353 354
                 ON mgnt.STORE_ID = unit.STORE_ID AND ptcl.ITEM_ID = unit.ITEM_ID AND DATE_FORMAT(NOW(), '%Y%m%d') BETWEEN unit.CONT_STT_DT AND unit.CONT_END_DT
354 355
             INNER JOIN item_base_info item
355
-                ON ptcl.ITEM_ID = item.ITEM_ID
356
+                ON ptcl.ITEM_ID = item.ITEM_ID AND item.podr_pssbl_dvsn='PO01'
356 357
             INNER JOIN brand_item_unit_info bitem 
357 358
                 ON bitem.ITEM_ID=ptcl.ITEM_ID AND bitem.BRAND_ID=unit.BRAND_ID
358 359
         WHERE 1 = 1