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

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

@@ -578,7 +578,7 @@
578
         and   mgnt.spply_id = #{sSpplyId}
578
         and   mgnt.spply_id = #{sSpplyId}
579
         </if>
579
         </if>
580
         <if test="sWhsId != null and sWhsId != ''">
580
         <if test="sWhsId != null and sWhsId != ''">
581
-        and   dtl.whs_id = #{sWhsId}
581
+        and   mgnt.whs_id = #{sWhsId}
582
         </if>
582
         </if>
583
         <if test="sItemNm != null and sItemNm != ''">
583
         <if test="sItemNm != null and sItemNm != ''">
584
         and   (mgnt.col_pick_unq_no like concat('%',#{sItemNm},'%') or dtl.item_id like concat('%',#{sItemNm},'%') or dtl.item_nm  like concat('%',#{sItemNm},'%') )
584
         and   (mgnt.col_pick_unq_no like concat('%',#{sItemNm},'%') or dtl.item_id like concat('%',#{sItemNm},'%') or dtl.item_nm  like concat('%',#{sItemNm},'%') )