From a9a3897164ef8f9a93d5d395f1ad292a8f6de3c1 Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Tue, 14 Nov 2023 15:36:35 +0800 Subject: [PATCH] =?UTF-8?q?#=E7=AB=99=E7=82=B9=E6=9F=A5=E8=AF=A2feign?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/hzims/operational/station/feign/IStationClient.java | 2 +- .../java/com/hnac/hzims/operational/station/feign/StationClient.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/feign/IStationClient.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/feign/IStationClient.java index fda1208..cc8856a 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/feign/IStationClient.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/station/feign/IStationClient.java @@ -79,6 +79,6 @@ public interface IStationClient { * @param codes * @return */ - @GetMapping(QUERY_STATION_BY_CODES) + @PostMapping(QUERY_STATION_BY_CODES) R> querySatationByCodes(@RequestParam("codes") List codes); } diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationClient.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationClient.java index f3932bf..e9cf868 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationClient.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/feign/StationClient.java @@ -129,7 +129,9 @@ public class StationClient implements IStationClient { } @Override - @GetMapping("/querySatationByCodes") + @PostMapping("/querySatationByCodes") + @ApiOperation("根据站点编码查询站点") + @ApiOperationSupport(order = 12) public R> querySatationByCodes(@RequestParam("codes") List codes) { return R.data(stationService.list(Wrappers.lambdaQuery() .in(StationEntity::getCode,codes)));