BmsshipFeign.java 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. package com.steerinfo.dil.feign;
  2. import com.steerinfo.framework.controller.RESTfulResult;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.web.bind.annotation.*;
  5. import java.math.BigDecimal;
  6. import java.util.List;
  7. import java.util.Map;
  8. /**
  9. * @Description:
  10. * @Author:HuJianGuo
  11. * @GreateTime:2021/9/23 8:46
  12. * @Version:V2.0
  13. */
  14. @FeignClient(value = "DIL-BMSSHIP-API-DEV", url = "${openfeign.BmsshipFeign.url}")
  15. public interface BmsshipFeign {
  16. /**
  17. * 展示港口装卸费
  18. *
  19. * @param mapValue
  20. * @param pageNum
  21. * @param pageSize
  22. * @param apiId
  23. * @return
  24. */
  25. @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/getPortHandlingFeeList")
  26. RESTfulResult getPortHandlingFeeList(@RequestBody(required = false) Map<String, Object> mapValue,
  27. @RequestParam("pageNum") Integer pageNum,
  28. @RequestParam("pageSize") Integer pageSize,
  29. @RequestParam("apiId") Integer apiId,
  30. @RequestParam("con") String con);
  31. /**
  32. * 展示批次信息
  33. *
  34. * @param mapValue
  35. * @param pageNum
  36. * @param pageSize
  37. * @param apiId
  38. * @return
  39. */
  40. @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/getBatch")
  41. RESTfulResult getBatch(@RequestBody(required = false) Map<String, Object> mapValue,
  42. @RequestParam("pageNum") Integer pageNum,
  43. @RequestParam("pageSize") Integer pageSize,
  44. @RequestParam("apiId") Integer apiId,
  45. @RequestParam("con") String con);
  46. /**
  47. * 生成港口装卸费
  48. *
  49. * @param portHandlingFee
  50. * @return
  51. */
  52. @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/addPortHandlingFee")
  53. RESTfulResult addPortHandlingFee(@RequestBody Map<String, Object> portHandlingFee) throws Exception;
  54. /**
  55. * 修改港口装卸费信息
  56. *
  57. * @param portHandlingFee
  58. * @return
  59. */
  60. @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/updatePortHandlingFee")
  61. RESTfulResult updatePortHandlingFee(@RequestBody Map<String, Object> portHandlingFee);
  62. /**
  63. * 查询修改港口装卸费数据渲染表单
  64. *
  65. * @param feeId
  66. * @return
  67. */
  68. @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/getFeeToUpdate/{feeId}")
  69. RESTfulResult getFeeToUpdate(@PathVariable("feeId") BigDecimal feeId);
  70. /**
  71. * 逻辑删除港口装卸费
  72. *
  73. * @param feeId
  74. * @return
  75. */
  76. @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/deletePortHandlingFee/{feeId}")
  77. RESTfulResult deletePortHandlingFee(@PathVariable("feeId") String feeId);
  78. /**
  79. * 展示水运详单信息
  80. *
  81. * @param mapValue
  82. * @param pageNum
  83. * @param pageSize
  84. * @param apiId
  85. * @return
  86. */
  87. @PostMapping(value = "/api/v1/bmsship/bmsshipdetailsorder/getDetailsOrderList")
  88. RESTfulResult getDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
  89. @RequestParam("pageNum") Integer pageNum,
  90. @RequestParam("pageSize") Integer pageSize,
  91. @RequestParam("apiId") Integer apiId,
  92. @RequestParam("con") String con);
  93. /**
  94. * 展示未生成账单的详单信息
  95. *
  96. * @param mapValue
  97. * @param pageNum
  98. * @param pageSize
  99. * @param apiId
  100. * @return
  101. */
  102. @PostMapping(value = "/api/v1/bmsship/bmsshipdetailsorder/getUncomplateDetailsOrderList")
  103. RESTfulResult getUncomplateDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
  104. @RequestParam("pageNum") Integer pageNum,
  105. @RequestParam("pageSize") Integer pageSize,
  106. @RequestParam("apiId") Integer apiId,
  107. @RequestParam("con") String con);
  108. /**
  109. * 生成水运计费详单
  110. *
  111. * @param resultId
  112. * @return
  113. * @throws Exception
  114. */
  115. @PostMapping(value = "/api/v1/bmsship/bmsshipdetailsorder/addDetailsOrder/{resultId}")
  116. RESTfulResult addDetailsOrder(@PathVariable("resultId") BigDecimal resultId) throws Exception;
  117. /**
  118. * 展示水运费和水分质检费账单信息
  119. *
  120. * @param mapValue
  121. * @param pageNum
  122. * @param pageSize
  123. * @param apiId
  124. * @return
  125. */
  126. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getStatementList")
  127. RESTfulResult getStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
  128. @RequestParam("pageNum") Integer pageNum,
  129. @RequestParam("pageSize") Integer pageSize,
  130. @RequestParam("apiId") Integer apiId,
  131. @RequestParam("con") String con);
  132. /**
  133. * 展示途损费账单信息
  134. *
  135. * @param mapValue
  136. * @param pageNum
  137. * @param pageSize
  138. * @param apiId
  139. * @return
  140. */
  141. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getLossStatementList")
  142. RESTfulResult getLossStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
  143. @RequestParam("pageNum") Integer pageNum,
  144. @RequestParam("pageSize") Integer pageSize,
  145. @RequestParam("apiId") Integer apiId,
  146. @RequestParam("con") String con);
  147. /**
  148. * 展示水分质检实绩
  149. *
  150. * @param mapValue
  151. * @param pageNum
  152. * @param pageSize
  153. * @param apiId
  154. * @return
  155. */
  156. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getWaterResult")
  157. RESTfulResult getWaterResult(@RequestBody(required = false) Map<String, Object> mapValue,
  158. @RequestParam("pageNum") Integer pageNum,
  159. @RequestParam("pageSize") Integer pageSize,
  160. @RequestParam("apiId") Integer apiId);
  161. /**
  162. * 生成水运费账单
  163. *
  164. * @param mapList
  165. * @return
  166. * @throws Exception
  167. */
  168. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/addStatement")
  169. RESTfulResult addStatement(@RequestBody List<Map<String, Object>> mapList) throws Exception;
  170. /**
  171. * 生成水分质检账单
  172. *
  173. * @param mapList
  174. * @return
  175. * @throws Exception
  176. */
  177. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/addWaterStatement")
  178. RESTfulResult addWaterStatement(@RequestBody List<Map<String, Object>> mapList) throws Exception;
  179. /**
  180. * 生成途损账单
  181. *
  182. * @param map
  183. * @return
  184. * @throws Exception
  185. */
  186. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/addLossStatement")
  187. RESTfulResult addLossStatement(@RequestBody Map<String, Object> map) throws Exception;
  188. /**
  189. * 展示账单下的详单
  190. *
  191. * @param batchId
  192. * @param mapValue
  193. * @param pageNum
  194. * @param pageSize
  195. * @param apiId
  196. * @return
  197. */
  198. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getStatementDetailsOrderList")
  199. RESTfulResult getStatementDetailsOrderList(@RequestParam BigDecimal batchId,
  200. @RequestBody(required = false) Map<String, Object> mapValue,
  201. @RequestParam("pageNum") Integer pageNum,
  202. @RequestParam("pageSize") Integer pageSize,
  203. @RequestParam("apiId") Integer apiId,
  204. @RequestParam("statementId") BigDecimal statementId,
  205. @RequestParam("con") String con);
  206. /**
  207. * 展示详单下的船运实绩
  208. *
  209. * @param batchId
  210. * @param mapValue
  211. * @param pageNum
  212. * @param pageSize
  213. * @param apiId
  214. * @return
  215. */
  216. @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getShipResult")
  217. RESTfulResult getShipResult(@RequestParam BigDecimal batchId,
  218. @RequestBody(required = false) Map<String, Object> mapValue,
  219. @RequestParam("pageNum") Integer pageNum,
  220. @RequestParam("pageSize") Integer pageSize,
  221. @RequestParam("apiId") Integer apiId);
  222. /**
  223. * 查询水运费计算公式
  224. *
  225. * @return
  226. */
  227. @PostMapping(value = "/api/v1/bmsship/bmsshipformulas/getShipFeesFormula")
  228. RESTfulResult getShipFeesFormula();
  229. /**
  230. * 查询途损费计算公式
  231. *
  232. * @return
  233. */
  234. @PostMapping(value = "/api/v1/bmsship/bmsshipformulas/getLossFeesFormula")
  235. RESTfulResult getLossFeesFormula();
  236. /**
  237. * 查询水分质检计算公式
  238. *
  239. * @return
  240. */
  241. @PostMapping(value = "/api/v1/bmsship/bmsshipformulas/getWaterFeesFormula")
  242. RESTfulResult getWaterFeesFormula();
  243. }