ITCntrService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package com.ruoyi.shipping.service;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.shipping.domain.TCntr;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 集装箱Service接口
  8. *
  9. * @author ruoyi
  10. * @date 2021-03-22
  11. */
  12. public interface ITCntrService
  13. {
  14. /**
  15. * 查询集装箱
  16. *
  17. * @param fId 集装箱ID
  18. * @return 集装箱
  19. */
  20. public TCntr selectTCntrById(Long fId);
  21. /**
  22. * 查询集装箱列表
  23. *
  24. * @param tCntr 集装箱
  25. * @return 集装箱集合
  26. */
  27. public List<TCntr> selectTCntrList(TCntr tCntr);
  28. /**
  29. * 新增集装箱
  30. *
  31. * @param tCntr 集装箱
  32. * @return 结果
  33. */
  34. public int insertTCntr(TCntr tCntr);
  35. /**
  36. * 修改集装箱
  37. *
  38. * @param tCntr 集装箱
  39. * @return 结果
  40. */
  41. public int updateTCntr(TCntr tCntr);
  42. /**
  43. * 批量删除集装箱
  44. *
  45. * @param fIds 需要删除的集装箱ID
  46. * @return 结果
  47. */
  48. public int deleteTCntrByIds(Long[] fIds);
  49. /**
  50. * 删除集装箱信息
  51. *
  52. * @param fId 集装箱ID
  53. * @return 结果
  54. */
  55. public int deleteTCntrById(Long fId);
  56. /**
  57. * 获取集装箱编号
  58. * @param tCntr
  59. * @return
  60. */
  61. public List<Map<String, Object>>selectRcntrName(TCntr tCntr);
  62. /**
  63. * 查询集装箱表里的编号
  64. * @param tCntr
  65. * @return
  66. */
  67. public String selectTcnrFno(TCntr tCntr);
  68. /**
  69. * 查询集装箱表里的名称
  70. * @param tCntr
  71. * @return
  72. */
  73. public String selectTcnrFName(TCntr tCntr);
  74. }