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)));