5 天以前 9e097fb25f494424ad79800c78b635fc94175f37
src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -165,6 +165,9 @@
                where p.product_name like concat('%',#{ew.productName},'%') or pm.model like concat('%',#{ew.productName},'%')
                )
            </if>
            <if test="ew.model != null and ew.model !=''">
                and combined.model like concat('%',#{ew.model},'%')
            </if>
            <if test="ew.topParentProductId != null and ew.topParentProductId > 0">
                and combined.product_id in (select id from product_tree)
            </if>