gongchunyi
2026-09-03 618dab9446e8858fee8d23b6073d28c1f875ba0e
src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -609,6 +609,7 @@
                 left join product p on pm.product_id = p.id
        where si.product_model_id = #{productModelId}
        and si.qualitity > IFNULL(sd.qualitity, 0)
        order by si.batch_no desc
    </select>
    <select id="getBatchNoQty" resultType="com.ruoyi.stock.dto.StockInventoryDto">