package com.steerinfo.dil.feign; import com.steerinfo.dil.config.MyFeignRequestInterceptor; import com.steerinfo.framework.controller.RESTfulResult; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import oracle.jdbc.proxy.annotation.Post; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; import java.math.BigDecimal; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @ author :TXF * @ time :2021/9/28 9:30 */ @FeignClient(name = "ANTAI-TMS-API", url = "${openfeign.TmsFeign.url}",configuration = MyFeignRequestInterceptor.class) public interface TmsFeign { //======================>车辆综合实绩 @PostMapping("api/v1/tms/tmscomprehensiveresults/gettmscomprehensiveresult") Map getAmsSalaryContracList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmscomprehensiveresults/add") Map addComprehensiveResult(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/tmscomprehensiveresults/tmscomprehensiveresultsupdate") Map updateAmsSalaryContrac(@RequestBody(required = false) Map map); @PutMapping("api/v1/tms/tmscomprehensiveresults/logicdelete") Map logicdeleteAmsSaalryContrac(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/dispatchOrder") Map dispatchOrder(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/batchDispatch") Map batchDispatch(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/updateTransOrder") Map updateTransOrder(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/mergeTransOrder") Map mergeTransOrder(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/getTransOrderList") Map getTransOrderList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/omstransorders/changeTransOrder") Map changeTransOrder(Map map); @PostMapping("api/v1/tms/omstransorders/receiptOrder") Map receiptOrder(Map map); @PostMapping("api/v1/tms/omstransorders/getTransResult") Map getTransResult(Map map); @PostMapping("api/v1/tms/tmsenfactoryresults/syncEnfactoryResult") Map syncEnfactoryResult(Map map); @PostMapping("api/v1/tms/tmsoutfactoryresults/syncOutfactoryResult") Map syncOutfactoryResult(Map map); @PostMapping("api/v1/tms/tmsweightresults/syncWeightResult") Map syncWeightResult(Map map); @PostMapping("api/v1/tms/tmstimingresults/startend") Map startend(Map map); @PostMapping("api/v1/tms/tmstimingresults/tmstimingresultsUpdate") Map tmstimingresultsUpdate(Map map); @PostMapping("api/v1/tms/tmstimingresults/tmstimingresultsList") Map tmstimingresultsList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/omstransorders/saleDispatchOrder") Map saleDispatchOrder(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/saleDispatchOrderList") Map saleDispatchOrderList(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/omstransorders/getSaleTransOrderList") Map getSaleTransOrderList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSiz); @PostMapping("api/v1/tms/tmsqualityresults/syncQualityResult") Map syncQualityResult(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/tmssigninresults/signIn") Map signIn(Map map); @PostMapping("api/v1/tms/tmsreplacefrontresults/replaceFront") Map replaceFront(Map map); @PostMapping("api/v1/tms/tmsloadresults/load") Map load(Map map); @PostMapping("api/v1/tms/tmsloadresults/loadUpd") Map loadUpd(Map map); @PostMapping("api/v1/tms/tmsunloadresults/unload") Map unload(Map map); @PostMapping("api/v1/tms/tmsunloadresults/unloadUpd") Map unloadUpd(Map map); @PostMapping("api/v1/tms/tmsarrivalresults/arrival") Map arrival(Map map); @PostMapping("api/v1/tms/tmsreceiptresults/receipt") Map receipt(Map map); @PostMapping("api/v1/tms/omstransorders/getCountEnfactory") Map getCountEnfactory(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/tmssigninresults/getSignInResultList") Map getSignInResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsreplacefrontresults/getReplaceFrontResultList") Map getReplaceFrontResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsenfactoryresults/getEnfactoryResultList") Map getEnfactoryResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsoutfactoryresults/getOutfactoryResultList") Map getOutfactoryResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsloadresults/getLoadResultList") Map getLoadResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsloadresults/purchaseTrainLoadList") Map purchaseTrainLoadList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsweightresults/purchaseTrainWeightList") Map purchaseTrainWeightList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsunloadresults/purchaseTrainUnloadList") Map purchaseTrainUnloadList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsweightresults/purchaseTrainWeight") Map purchaseTrainWeight(Map map); @PostMapping("api/v1/tms/tmsunloadresults/getUnloadResultList") Map getUnloadResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsweightresults/getWeightResultList") Map getWeightResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsqualityresults/getQualityResultList") Map getQualityResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsarrivalresults/getArrivalResultList") Map getArrivalResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsreceiptresults/getReceiptResultList") Map getReceiptResultList(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/tmsreceiptresults/updateWeight") RESTfulResult updateWeight(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/tmsloadresults/purchaseTrainLoad") Map purchaseTrainLoad(Map map); @PostMapping("api/v1/tms/tmsunloadresults/purchaseTrainUnload") Map purchaseTrainUnload(Map map); @PostMapping("api/v1/tms/omstransorders/changeSaleTransOrder") Map changeSaleTransOrder(Map map); @PostMapping("api/v1/tms/omstransorders/getDriverTotalResult") Map getDriverTotalResult(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping("api/v1/tms/omstransorders/getCapacityTotalResult") Map getCapacityTotalResult(@RequestBody(required = false) Map map, @RequestParam Integer apiId, @RequestParam Integer pageNum, @RequestParam Integer pageSize); @PostMapping(value = "/api/v1/tms/omstransorders/dispatchTask") Map dispatchTask(@RequestBody Map map); @PostMapping(value = "/api/v1/tms/omstransorders/getDlivDirnoSeqList/{id}") RESTfulResult getDlivDirnoSeqList(@PathVariable("id") String id); @PostMapping(value = "/api/v1/tms/omstransorders/updateDlivDirnoSeq") RESTfulResult updateDlivDirnoSeq(@RequestBody Map map); @PostMapping(value = "/api/v1/tms/omstransorders/selectDlivDirnoSeqDetails") RESTfulResult selectDlivDirnoSeqDetails(@RequestBody Map map); @PostMapping(value = "/api/v1/tms/tmsrouteresults/getPathByOrder") RESTfulResult getPathByOrder(@RequestBody Map map); @PostMapping(value = "/api/v1/tms/tmsrouteresults/uploadLocation") RESTfulResult uploadLocation(@RequestBody Map map); @PostMapping("api/v1/tms/omstransorders/batchDispatchSc") Map batchDispatchSc(@RequestBody(required = false) Map map); @PostMapping("api/v1/tms/tmsweightresults/checkWeightResult") Map checkWeightResult(@RequestBody(required = false) Map map); @PostMapping(value = "api/v1/tms/omstransorders/saleDispatchList") RESTfulResult saleDispatchList(@RequestBody Map map); @PostMapping(value = "api/v1/tms/omstransorders/saleDispatchDuoPin") RESTfulResult saleDispatchDuoPin(@RequestBody Map map); }