123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- package com.steerinfo.dil.feign;
- import com.steerinfo.framework.controller.RESTfulResult;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.*;
- import java.math.BigDecimal;
- import java.util.List;
- import java.util.Map;
- /**
- * @Description:
- * @Author:HuJianGuo
- * @GreateTime:2021/9/23 8:46
- * @Version:V2.0
- */
- @FeignClient(value = "DIL-BMSSHIP-API-DEV", url = "${openfeign.BmsshipFeign.url}")
- public interface BmsshipFeign {
- /**
- * 展示港口装卸费
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/getPortHandlingFeeList")
- RESTfulResult getPortHandlingFeeList(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 展示批次信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/getBatch")
- RESTfulResult getBatch(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 生成港口装卸费
- *
- * @param portHandlingFee
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/addPortHandlingFee")
- RESTfulResult addPortHandlingFee(@RequestBody Map<String, Object> portHandlingFee) throws Exception;
- /**
- * 修改港口装卸费信息
- *
- * @param portHandlingFee
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/updatePortHandlingFee")
- RESTfulResult updatePortHandlingFee(@RequestBody Map<String, Object> portHandlingFee);
- /**
- * 查询修改港口装卸费数据渲染表单
- *
- * @param feeId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/getFeeToUpdate/{feeId}")
- RESTfulResult getFeeToUpdate(@PathVariable("feeId") BigDecimal feeId);
- /**
- * 逻辑删除港口装卸费
- *
- * @param feeId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsporthandlingfee/deletePortHandlingFee/{feeId}")
- RESTfulResult deletePortHandlingFee(@PathVariable("feeId") String feeId);
- /**
- * 展示水运详单信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipdetailsorder/getDetailsOrderList")
- RESTfulResult getDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 展示未生成账单的详单信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipdetailsorder/getUncomplateDetailsOrderList")
- RESTfulResult getUncomplateDetailsOrderList(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 生成水运计费详单
- *
- * @param resultId
- * @return
- * @throws Exception
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipdetailsorder/addDetailsOrder/{resultId}")
- RESTfulResult addDetailsOrder(@PathVariable("resultId") BigDecimal resultId) throws Exception;
- /**
- * 展示水运费和水分质检费账单信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getStatementList")
- RESTfulResult getStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 展示途损费账单信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getLossStatementList")
- RESTfulResult getLossStatementList(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 展示水分质检实绩
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getWaterResult")
- RESTfulResult getWaterResult(@RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 生成水运费账单
- *
- * @param mapList
- * @return
- * @throws Exception
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/addStatement")
- RESTfulResult addStatement(@RequestBody List<Map<String, Object>> mapList) throws Exception;
- /**
- * 生成水分质检账单
- *
- * @param mapList
- * @return
- * @throws Exception
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/addWaterStatement")
- RESTfulResult addWaterStatement(@RequestBody List<Map<String, Object>> mapList) throws Exception;
- /**
- * 生成途损账单
- *
- * @param map
- * @return
- * @throws Exception
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/addLossStatement")
- RESTfulResult addLossStatement(@RequestBody Map<String, Object> map) throws Exception;
- /**
- * 展示账单下的详单
- *
- * @param batchId
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getStatementDetailsOrderList")
- RESTfulResult getStatementDetailsOrderList(@RequestParam BigDecimal batchId,
- @RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 展示详单下的船运实绩
- *
- * @param batchId
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipstatement/getShipResult")
- RESTfulResult getShipResult(@RequestParam BigDecimal batchId,
- @RequestBody(required = false) Map<String, Object> mapValue,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("apiId") Integer apiId);
- /**
- * 查询水运费计算公式
- *
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipformulas/getShipFeesFormula")
- RESTfulResult getShipFeesFormula();
- /**
- * 查询途损费计算公式
- *
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipformulas/getLossFeesFormula")
- RESTfulResult getLossFeesFormula();
- /**
- * 查询水分质检计算公式
- *
- * @return
- */
- @PostMapping(value = "/api/v1/bmsship/bmsshipformulas/getWaterFeesFormula")
- RESTfulResult getWaterFeesFormula();
- }
|