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.math.BigDecimal; import java.util.Map; /** * @ author :TXF * @ time :2021/10/1 17:19 */ @FeignClient(name = "dil-trick-queue-dev", url = "${openfeign.QmsTruckFeign.url}") public interface QmsFeign { @RequestMapping(value = "/api/v1/queueTruck/qmsqueuegrids/getStackingId",method = RequestMethod.POST) Map getStackingId(@RequestParam BigDecimal warehouseId, @RequestParam int size); /* QmsQueueResultController / QmsQueueListController */ @PostMapping("api/v1/queueTruck/qmsqueueresults/addQueueResult") Map addQueueResult( @RequestParam("vno")String vno); @PostMapping("api/v1/queueTruck/qmsqueuelists/addQueueList") Map addQueueList(@RequestParam("resultId")String resultId); @PostMapping("api/v1/queueTruck/qmsqueueresults/orderReceive") Map orderReceive(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("queueType") Integer queueType, @RequestParam("con")String con ); @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueApply") Map getQueueApply(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("con")String con ); @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueListByQueueUp") Map getQueueListByQueueUp(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("locationId") Integer locationId, @RequestParam("capacityNumber")String capacityNumber, @RequestParam("isSpelling")Integer isSpelling ); @PostMapping("api/v1/queueTruck/qmsqueueresults/getChangeQueue") Map getChangeQueue(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("con")String con ); @PostMapping("api/v1/queueTruck/qmsqueuelists/queueCancel") Map queueCancel(@RequestBody(required=false) Map mapValue); @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueCancel") Map getQueueCancel(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("con")String con ); @PostMapping("api/v1/queueTruck/qmsqueueresults/updateQueueCancel") Map updateQueueCancel(@RequestBody(required=false) Map mapValue); @PostMapping("api/v1/queueTruck/qmsqueuelists/queueCutInLine") Map queueCutInLine(@RequestBody(required=false) Map mapValue); @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueInsert") Map getQueueInsert(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("con")String con ); @PostMapping("api/v1/queueTruck/qmsqueuelists/queueEndByPDA") Map queueEnd(@RequestBody(required=false) Map mapValue); @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueEndResult") Map getQueueEndResult(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("con")String con ); @PostMapping("api/v1/queueTruck/qmsqueuelists/listMonitor") Map listMonitor(@RequestBody(required=false) Map mapValue, @RequestParam("apiId") Integer apiId, @RequestParam("pageNum") Integer pageNum, @RequestParam("pageSize") Integer pageSize, @RequestParam("isSpelling")Integer isSpelling ); @PostMapping("api/v1/queueTruck/qmsqueueresults/getOrderReceive/{capacityNumber}") Map getOrderReceive(@PathVariable("capacityNumber") String capacityNumber); @PostMapping("api/v1/queueTruck/qmsqueueresults/cancelQueue") Map cancelQueue(@RequestBody Map mapValue); @PostMapping("api/v1/queueTruck/qmsqueuelists/allowEnFactory") Map allowEnFactory(@RequestBody(required=false) Map mapValue); @GetMapping("api/v1/queueTruck/qmsqueueresults/getQueueResultByTotalId") Map getQueueResultByTotalId(@RequestParam("resultTotalId") String resultTotalId); @PostMapping("api/v1/queueTruck/qmsqueuelists/getListMonitorMes") Map getListMonitorMes(@RequestBody(required=false) Map mapValue); @PostMapping("api/v1/queueTruck/qmsqueuelists/getSpellingListMonitorMes") Map getSpellingListMonitorMes(@RequestBody(required=false) Map mapValue); // @PostMapping("api/v1/queueTruck/qmsqueueresults/getAllQueueMes") // Map getAllQueueMes(@RequestBody(required=false) Map mapValue, // @RequestParam("apiId") Integer apiId, // @RequestParam("pageNum") Integer pageNum, // @RequestParam("pageSize") Integer pageSize, // @RequestParam("gatepostId") Integer gatepostId, // @RequestParam("con")String con // ); // @PostMapping("api/v1/queueTruck/qmsqueuelists/changeQueue") // Map changeQueue(@RequestBody(required=false) Map mapValue); // // @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueCancelByResultId/{resultId}") // Map getQueueCancelByResultId(@PathVariable("resultId") Integer resultId); // @PostMapping("api/v1/queueTruck/qmsqueueresults/capacityMonitor") // Map capacityMonitor(@RequestBody(required=false) Map mapValue, // @RequestParam("apiId") Integer apiId, // @RequestParam("pageNum") Integer pageNum, // @RequestParam("pageSize") Integer pageSize, // @RequestParam("gridType") Integer gridType, // @RequestParam("con")String con // ); // @PostMapping("api/v1/queueTruck/qmsqueueresults/getQueueStatusList") // Map getQueueStatusList(); // @PostMapping("api/v1/queueTruck/qmsqueueresults/getAllExecutionOrder") // Map getAllExecutionOrder(@RequestBody(required=false) Map mapValue, // @RequestParam("apiId") Integer apiId, // @RequestParam("pageNum") Integer pageNum, // @RequestParam("pageSize") Integer pageSize, // @RequestParam("orderType")Integer orderType, // @RequestParam("status")Integer status, // @RequestParam("con")String con // ); // // @PostMapping("api/v1/queueTruck/qmsqueuelists/getListQueueMes") // RESTfulResult getListQueueMes(@RequestBody(required=false) Map mapValue); // @PostMapping("api/v1/queueTruck/qmsqueueresults/getWarehouseQueueChange") // Map getWarehouseQueueChange(@RequestBody(required=false) Map mapValue, // @RequestParam("apiId") Integer apiId, // @RequestParam("pageNum") Integer pageNum, // @RequestParam("pageSize") Integer pageSize, // @RequestParam("con")String con // ); // @PostMapping("api/v1/queueTruck/qmsqueueresults/getWarehouseQueueEndMes") // Map getWarehouseQueueEndMes(@RequestBody(required=false) Map mapValue, // @RequestParam("apiId") Integer apiId, // @RequestParam("pageNum") Integer pageNum, // @RequestParam("pageSize") Integer pageSize, // @RequestParam("con")String con // ); }