云
2026-09-10 1e123568c2f561013f5636e45dc0db30b17a3517
src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -84,6 +84,10 @@
        <if test="ew.productName != null and ew.productName !=''">
            and p.product_name like concat('%',#{ew.productName},'%')
        </if>
        <if test="ew.warnOnly != null and ew.warnOnly">
            and COALESCE(si.warn_num, 0) &gt; 0
            and (si.qualitity - COALESCE(si.locked_quantity, 0)) &lt;= si.warn_num
        </if>
    </select>
    <select id="pageListCombinedStockInventory" resultType="com.ruoyi.stock.dto.StockInventoryDto">
@@ -367,6 +371,7 @@
                and sir.create_time &lt;= #{ew.endMonth}
            </if>
        </where>
        order by sir.id desc
    </select>
    <select id="stockInAndOutRecord" resultType="com.ruoyi.stock.dto.StockInventoryDto">