src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -113,7 +113,7 @@ product_model_id, MAX(create_time) as create_time, MAX(update_time) as update_time, MAX(warn_num) as warn_num, SUM(warn_num) as warn_num, MAX(version) as version, model, MAX(remark) as remark, @@ -667,6 +667,7 @@ unit, product_name, product_id having SUM(qualifiedQuantity) >= 0 order by batch_no </select>