ITCntrnoService.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. package com.ruoyi.shipping.service;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.common.core.domain.AjaxResult;
  5. import com.ruoyi.common.core.domain.entity.SysUser;
  6. import com.ruoyi.shipping.domain.TCntrno;
  7. import org.springframework.web.multipart.MultipartFile;
  8. /**
  9. * 集装箱号Service接口
  10. *
  11. * @author ruoyi
  12. * @date 2021-03-22
  13. */
  14. public interface ITCntrnoService
  15. {
  16. /**
  17. * 查询集装箱号
  18. *
  19. * @param fId 集装箱号ID
  20. * @return 集装箱号
  21. */
  22. public TCntrno selectTCntrnoById(Long fId);
  23. /**
  24. * 查询集装箱号列表
  25. *
  26. * @param tCntrno 集装箱号
  27. * @return 集装箱号集合
  28. */
  29. public List<TCntrno> selectTCntrnoList(TCntrno tCntrno);
  30. /**
  31. * 新增集装箱号
  32. *
  33. * @param tCntrno 集装箱号
  34. * @return 结果
  35. */
  36. public int insertTCntrno(TCntrno tCntrno);
  37. /**
  38. * 修改集装箱号
  39. *
  40. * @param tCntrno 集装箱号
  41. * @return 结果
  42. */
  43. public int updateTCntrno(List<TCntrno> tCntrno);
  44. /**
  45. * 修改集装箱号
  46. *
  47. * @param tCntrno 集装箱号
  48. * @return 结果
  49. */
  50. public int updateTCntrnoMessage(TCntrno tCntrno);
  51. /**
  52. * 批量删除集装箱号
  53. *
  54. * @param fIds 需要删除的集装箱号ID
  55. * @return 结果
  56. */
  57. public int deleteTCntrnoByIds(Long[] fIds);
  58. /**
  59. * 删除集装箱号信息
  60. *
  61. * @param fId 集装箱号ID
  62. * @return 结果
  63. */
  64. public int deleteTCntrnoById(Long fId);
  65. /**
  66. * 批量更新数据状态将正常状态改为停用
  67. * @param fIds
  68. * @return
  69. */
  70. public int updateTcntrnoStatus(Long[] fIds);
  71. /**
  72. * 查询集装箱信息
  73. * @param tCntrno
  74. * @return
  75. */
  76. public List<TCntrno> selectTcntrnoMessage(TCntrno tCntrno);
  77. /**
  78. * 获取集装箱信息
  79. * @param tCntrno
  80. * @return
  81. */
  82. public List<Map<String, Object>> getTCntrnoMessage(TCntrno tCntrno);
  83. /**
  84. * 获取集装箱分布信息
  85. * @param tCntrno
  86. * @return
  87. */
  88. public List<TCntrno> getTCntrnoDistribute(TCntrno tCntrno);
  89. /**
  90. * 获取集装箱动态分布标签
  91. * @param tCntrno
  92. * @return
  93. */
  94. public List<String> getTCntrnoChange(TCntrno tCntrno);
  95. /**
  96. * 查询编号唯一性
  97. * @param tCntrno
  98. * @return
  99. */
  100. public String selectTCntrnoFNo(TCntrno tCntrno);
  101. /**
  102. * 更新箱信息数据
  103. * @param fileName 更新箱信息数据列表
  104. * @return 结果
  105. */
  106. public AjaxResult importUpdateDataTcntrnoExcel(MultipartFile fileName);
  107. /**
  108. * 导入箱信息数据Excel
  109. * @param fileName 更新箱信息数据列表
  110. * @return 结果
  111. */
  112. public AjaxResult importTcntrnoDataExcel(MultipartFile fileName);
  113. }