123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- package com.steerinfo.dil.feign;
- import com.steerinfo.framework.controller.RESTfulResult;
- import io.swagger.annotations.ApiImplicitParam;
- import io.swagger.annotations.ApiImplicitParams;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.*;
- import java.util.Map;
- /**
- * @ author :TXF
- * @ time :2021/9/28 9:30
- */
- @FeignClient(name = "dil-tms-truck-dev", url = "${openfeign.TmsTruckFeign.url}")
- public interface TmsTruckFeign {
- /*
- TmstruckLoadResultController
- */
- @PostMapping("api/v1/truckTms/tmstruckloadresults/getAllLoadResult")
- public RESTfulResult getAllLoadResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize,
- @RequestParam("status") Integer status );
- @PostMapping("api/v1/truckTms/tmstruckloadresults/addLoadResult")
- public RESTfulResult addLoadResult(@RequestBody(required=false) Map<String,Object> mapValue);
- @PostMapping("api/v1/truckTms/tmstruckloadresults/updateLoadResult")
- public RESTfulResult updateLoadResult(@RequestBody(required=false) Map<String,Object> mapValue);
- @PostMapping("api/v1/truckTms/tmstruckloadresults/getLoadResultById/{resultId}")
- public RESTfulResult getLoadResultById(@PathVariable("resultId") Integer resultId);
- @PostMapping("api/v1/truckTms/tmstruckloadresults/deleteLoadResult/{resultId}")
- public RESTfulResult deleteLoadResult(@PathVariable("resultId")Integer resultId);
- /*
- TmstruckEnfactoryResultController
- */
- @ApiOperation(value="查询所有的进厂实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(99)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("api/v1/truckTms/tmstruckenfactoryresults/getAllEnFactoryResult")
- public RESTfulResult getAllEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize
- );
- @ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("api/v1/truckTms/tmstruckenfactoryresults/addEnFactoryResult")
- public RESTfulResult addEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue);
- @ApiOperation(value="PDA扫描更新进厂作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("api/v1/truckTms/tmstruckenfactoryresults/updateEnactoryResult")
- public RESTfulResult updateEnactoryResult(@RequestBody(required=false) Map<String,Object> mapValue);
- /*
- TmstruckWeightResultController
- */
- @PostMapping("api/v1/truckTms/tmstruckweightresults/getAllJiMaoResult")
- public RESTfulResult getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize);
- @PostMapping("api/v1/truckTms/tmstruckweightresults/getAllJiPiResult")
- public RESTfulResult getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize);
- @PostMapping("api/v1/truckTms/tmstruckweightresults/addJiMaoResult")
- public RESTfulResult addJiMaoResult(@RequestBody Map<String, Object> mapValue);
- @PostMapping("api/v1/truckTms/tmstruckweightresults/addJiPiResult")
- public RESTfulResult addJiPiResult(@RequestBody Map<String, Object> mapValue);
- /*
- TmstruckUnloadResultController
- */
- @PostMapping("api/v1/truckTms/tmstruckunloadresult/getUnloadResult")
- public RESTfulResult getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize);
- @PostMapping("api/v1/truckTms/tmstruckunloadresult/addUnloadResult")
- public RESTfulResult addUnloadResult(@RequestBody Map<String, Object> mapValue);
- /*
- TmstruckReceiptResultController
- */
- @PostMapping("api/v1/truckTms/tmstruckreceiptresults/getReceiveResult")
- public RESTfulResult getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize);
- /*
- TmstruckLeaveFactoryResultController
- */
- @PostMapping("api/v1/truckTms/tmstruckleavefactoryresults/getLeaveFactoryResult")
- public RESTfulResult getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize);
- @PostMapping("api/v1/truckTms/tmstruckleavefactoryresults/addLeaveFactoryResult")
- public RESTfulResult addLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue);
- /*
- TmstruckMeasureCommissionController
- */
- @PostMapping("api/v1/truckTms/tmstruckmeasurecommissions/getAllMeasureCommission/{type}")
- public RESTfulResult getAllMeasureCommission(@PathVariable("type") Integer type);
- /*
- TmstruckQualityResultController
- */
- @PostMapping("api/v1/truckTms/tmstruckqualityresults/getQualityResult")
- public RESTfulResult getQualityResult(@RequestBody(required=false) Map<String,Object> mapValue,
- @RequestParam("apiId") Integer apiId,
- @RequestParam("pageNum") Integer pageNum,
- @RequestParam("pageSize") Integer pageSize);
- @PostMapping("api/v1/truckTms/tmstruckqualityresults/getQualityResultById/{resultId}")
- public RESTfulResult getQualityResultById(@PathVariable("resultId") Integer resultId);
- @PostMapping("api/v1/truckTms/tmstruckqualityresults/updateQualityResult")
- public RESTfulResult updateQualityResult(@RequestBody(required=false) Map<String,Object> mapValue);
- /**
- * 下拉框
- */
- @GetMapping("api/v1/truckTms/dropDown/getDilBatch")
- RESTfulResult getDilBatch();
- @GetMapping("api/v1/truckTms/dropDown/getCarrier")
- RESTfulResult getCarrier();
- @GetMapping("api/v1/truckTms/dropDown/getLine")
- RESTfulResult getLine();
- @GetMapping("api/v1/truckTms/dropDown/getWarehouse")
- RESTfulResult getWarehouse();
- @GetMapping("api/v1/truckTms/dropDown/getGatepost")
- RESTfulResult getGatepost();
- @GetMapping("api/v1/truckTms/dropDown/getAPO")
- RESTfulResult getAPO();
- @GetMapping("api/v1/truckTms/dropDown/getFuCapacityId")
- RESTfulResult getFuCapacityId();
- @GetMapping("api/v1/truckTms/dropDown/getPort")
- RESTfulResult getPort();
- }
|