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