From a5223bacc2b592dd27900886856e8a40697e8b2f Mon Sep 17 00:00:00 2001 From: yang_shj <1069818635@QQ.com> Date: Tue, 14 Nov 2023 15:25:55 +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 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 cc8856a..fda1208 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 */ - @PostMapping(QUERY_STATION_BY_CODES) + @GetMapping(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 45641c8..f3932bf 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,6 +129,7 @@ public class StationClient implements IStationClient { } @Override + @GetMapping("/querySatationByCodes") public R> querySatationByCodes(@RequestParam("codes") List codes) { return R.data(stationService.list(Wrappers.lambdaQuery() .in(StationEntity::getCode,codes)));