src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -197,6 +197,7 @@ left join product p on pm.product_id = p.id ) as combined <where> combined.qualifiedQuantity <![CDATA[ > ]]> 0 <if test="ew.productName != null and ew.productName !=''"> and combined.product_name in ( select distinct p.product_name