@@ -1117,6 +1117,9 @@
<if test="whId != null">
AND tpi.wh_id = #{whId} ::uuid
</if>
+ <if test="inqtyFlag != null">
+ AND tpi.inv_qty != 0
+ </if>
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
limit #{end} offset #{start}