ITCntrnoService.java 3.3 KB

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