package com.ruoyi.goods.mapper; import java.util.List; import com.ruoyi.goods.domain.TCanteenInventory; /** * 库存Mapper接口 * * @author ruoyi * @date 2025-04-22 */ public interface TCanteenInventoryMapper { /** * 查询库存 * * @param inventoryId 库存主键 * @return 库存 */ public TCanteenInventory selectTCanteenInventoryByInventoryId(Long inventoryId); /** * 查询库存列表 * * @param tCanteenInventory 库存 * @return 库存集合 */ public List selectTCanteenInventoryList(TCanteenInventory tCanteenInventory); /** * 新增库存 * * @param tCanteenInventory 库存 * @return 结果 */ public int insertTCanteenInventory(TCanteenInventory tCanteenInventory); /** * 修改库存 * * @param tCanteenInventory 库存 * @return 结果 */ public int updateTCanteenInventory(TCanteenInventory tCanteenInventory); /** * 删除库存 * * @param inventoryId 库存主键 * @return 结果 */ public int deleteTCanteenInventoryByInventoryId(Long inventoryId); /** * 批量删除库存 * * @param inventoryIds 需要删除的数据主键集合 * @return 结果 */ public int deleteTCanteenInventoryByInventoryIds(Long[] inventoryIds); }