Procházet zdrojové kódy

库存冻结 不查库存为0的商品

changhaoning před 1 rokem
rodič
revize
2d6e421645

+ 3 - 0
src/main/java/com/dk/mdm/mapper/common/CommonMapper.xml

@@ -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}
         </if>