src/main/resources/mapper/stock/StockInventoryMapper.xml @@ -667,6 +667,7 @@ unit, product_name, product_id having SUM(qualifiedQuantity) >= 0 order by batch_no </select>