Browse Source

쿼리수정

dwkim 2 years ago
parent
commit
61c5c029a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mybatis/sqlmaps/inoutmng/ColOdr.xml

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

@@ -694,7 +694,7 @@
694 694
             and   mgnt.spply_id = #{sSpplyId}
695 695
         </if>
696 696
         <if test="sWhsId != null and sWhsId != ''">
697
-            and   dtl.whs_id = #{sWhsId}
697
+            and   mgnt.whs_id = #{sWhsId}
698 698
         </if>
699 699
         <if test="sItemNm != null and sItemNm != ''">
700 700
             and   (mgnt.col_pick_unq_no like concat('%',#{sItemNm},'%') or dtl.item_id like concat('%',#{sItemNm},'%') or dtl.item_nm  like concat('%',#{sItemNm},'%') )
@@ -741,7 +741,7 @@
741 741
             and   mgnt.spply_id = #{sSpplyId}
742 742
         </if>
743 743
         <if test="sWhsId != null and sWhsId != ''">
744
-            and   dtl.whs_id = #{sWhsId}
744
+            and   mgnt.whs_id = #{sWhsId}
745 745
         </if>
746 746
         <if test="sItemNm != null and sItemNm != ''">
747 747
             and   (mgnt.col_pick_unq_no like concat('%',#{sItemNm},'%') or dtl.item_id like concat('%',#{sItemNm},'%') or dtl.item_nm  like concat('%',#{sItemNm},'%') )