ITSeapriceService.java 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. package com.ruoyi.quotation.service;
  2. import com.ruoyi.common.core.domain.AjaxResult;
  3. import com.ruoyi.quotation.domain.TSeaprice;
  4. import java.util.List;
  5. import java.util.Map;
  6. /**
  7. * 海运价主Service接口
  8. *
  9. * @author ruoyi
  10. * @date 2021-06-01
  11. */
  12. public interface ITSeapriceService
  13. {
  14. /**
  15. * 查询海运价主
  16. *
  17. * @param fId 海运价主ID
  18. * @return 海运价主
  19. */
  20. public AjaxResult selectTSeapriceById(Long fId);
  21. /**
  22. * 查询海运价主列表
  23. *
  24. * @param tSeaprice 海运价主
  25. * @return 海运价主集合
  26. */
  27. public List<TSeaprice> selectTSeapriceList(TSeaprice tSeaprice);
  28. /**
  29. * 保存海运价主
  30. *
  31. * @param tSeaprice 海运价主
  32. * @return 结果
  33. */
  34. public AjaxResult saveTSeaprice(String tSeaprice, String tSeapriceItem, String tSeapriceFlees);
  35. /**
  36. * 新增海运价主
  37. *
  38. * @param tSeaprice 海运价主
  39. * @return 结果
  40. */
  41. public AjaxResult insertTSeaprice(String tSeaprice, String tSeapriceItem, String tSeapriceFlees);
  42. /**
  43. * 修改海运价主
  44. *
  45. * @param tSeaprice 海运价主
  46. * @return 结果
  47. */
  48. public int updateTSeaprice(TSeaprice tSeaprice);
  49. /**
  50. * 批量删除海运价主
  51. *
  52. * @param fIds 需要删除的海运价主ID
  53. * @return 结果
  54. */
  55. public AjaxResult deleteTSeapriceByIds(Long[] fIds);
  56. /**
  57. * 删除海运价主信息
  58. *
  59. * @param fId 海运价主ID
  60. * @return 结果
  61. */
  62. public int deleteTSeapriceById(Long fId);
  63. /**
  64. * 查询海运报价列表信息
  65. * @param tSeaprice 条件
  66. * @return 结果
  67. */
  68. public List<Map<String, Object>> selectTSeapriceMapList(TSeaprice tSeaprice);
  69. /**
  70. * 计算海运费
  71. */
  72. public AjaxResult calculateOceanFreight(TSeaprice tSeaprice);
  73. /**
  74. * 动态查询海运费、汇率
  75. * @param tSeaprice 条件
  76. * @return 结果
  77. */
  78. public AjaxResult changeSelectShippingFee(TSeaprice tSeaprice);
  79. /**
  80. * 查询所需基础资料
  81. * @return
  82. */
  83. public AjaxResult getAppBasicInformation();
  84. }