src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -72,7 +72,7 @@
        <if test="ew.productName != null and ew.productName !=''">
            and p.product_name like concat('%',#{ew.productName},'%')
        </if>
        <if test="ew.productModelId != null and ew.productModelId !=''">
        <if test="ew.productModelId != null">
            and pm.id = #{ew.productModelId}
        </if>
    </select>