TCanteenInventoryMapper.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.ruoyi.goods.mapper;
  2. import java.util.List;
  3. import com.ruoyi.goods.domain.TCanteenInventory;
  4. /**
  5. * 库存Mapper接口
  6. *
  7. * @author ruoyi
  8. * @date 2025-04-22
  9. */
  10. public interface TCanteenInventoryMapper
  11. {
  12. /**
  13. * 查询库存
  14. *
  15. * @param inventoryId 库存主键
  16. * @return 库存
  17. */
  18. public TCanteenInventory selectTCanteenInventoryByInventoryId(Long inventoryId);
  19. /**
  20. * 查询库存列表
  21. *
  22. * @param tCanteenInventory 库存
  23. * @return 库存集合
  24. */
  25. public List<TCanteenInventory> selectTCanteenInventoryList(TCanteenInventory tCanteenInventory);
  26. /**
  27. * 新增库存
  28. *
  29. * @param tCanteenInventory 库存
  30. * @return 结果
  31. */
  32. public int insertTCanteenInventory(TCanteenInventory tCanteenInventory);
  33. /**
  34. * 修改库存
  35. *
  36. * @param tCanteenInventory 库存
  37. * @return 结果
  38. */
  39. public int updateTCanteenInventory(TCanteenInventory tCanteenInventory);
  40. /**
  41. * 删除库存
  42. *
  43. * @param inventoryId 库存主键
  44. * @return 结果
  45. */
  46. public int deleteTCanteenInventoryByInventoryId(Long inventoryId);
  47. /**
  48. * 批量删除库存
  49. *
  50. * @param inventoryIds 需要删除的数据主键集合
  51. * @return 结果
  52. */
  53. public int deleteTCanteenInventoryByInventoryIds(Long[] inventoryIds);
  54. }