浏览代码

반품처리 쿼리 수정

dwkim 2 年之前
父节点
当前提交
27d5ce63fa
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/resources/mybatis/sqlmaps/inoutmng/ColOdr.xml

+ 2 - 0
src/main/resources/mybatis/sqlmaps/inoutmng/ColOdr.xml

@@ -571,6 +571,7 @@
571 571
         and   mgnt.brand_id = #{sBrandId}
572 572
         and   mgnt.col_sch_dt between #{fromDt} and #{toDt}
573 573
         and   mgnt.pick_st_cd = 'PICK0'
574
+        and   dtl.pick_dtl_st_cd = 'PICKD0'
574 575
         <if test="sStoreId != null and sStoreId != ''">
575 576
             and   mgnt.store_id = #{sStoreId}
576 577
             and   mgnt.whs_dvsn = 'W02'
@@ -626,6 +627,7 @@
626 627
         and   mgnt.brand_id = #{sBrandId}
627 628
         and   mgnt.col_sch_dt between #{fromDt} and #{toDt}
628 629
         and   mgnt.pick_st_cd = 'PICK0'
630
+        and   dtl.pick_dtl_st_cd = 'PICKD0'
629 631
         <if test="sStoreId != null and sStoreId != ''">
630 632
             and   mgnt.store_id = #{sStoreId}
631 633
             and   mgnt.whs_dvsn = 'W02'