| src/main/resources/mapper/stock/StockInventoryMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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>