于杰
2025-11-04 7cf8f8fc1abca63423c1fb4618363f8a9d283f9d
north-glass-erp/src/main/resources/mapper/mm/MaterialInventory.xml
@@ -1387,4 +1387,13 @@
        where id=#{materialInventoryId}
    </update>
    <select id="selectGetStockList">
        select mi.*, ms.json
        from mm.material_inventory mi
        left join mm.material_store ms
            on mi.material_code=ms.id
        where inventory_quantity>0
        order by mi.id desc
    </select>
</mapper>