2026-03-27 d3a5c4420a7daf89bc9832f22ca8ed9d7e1adaf9
src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -68,10 +68,13 @@
        from stock_inventory si
        left join product_model pm on si.product_model_id = pm.id
        left join product p on pm.product_id = p.id
        where 1 = 1
        where pm.product_type = #{ew.productType}
        <if test="ew.productName != null and ew.productName !=''">
            and p.product_name like concat('%',#{ew.productName},'%')
        </if>
        <if test="ew.productModelId != null">
            and pm.id = #{ew.productModelId}
        </if>
    </select>
    <select id="listStockInventoryExportData" resultType="com.ruoyi.stock.execl.StockInventoryExportData">
        select si.qualitity,