From 8ef30d0f22974a44eaca057e10c1fc48a2bc3a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E6=9C=A8c?= <857448963@qq.com> Date: Tue, 25 Apr 2023 16:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E5=A4=84=E7=90=86=E6=B1=A1=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/njcn/device/pq/controller/SubstationController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/controller/SubstationController.java b/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/controller/SubstationController.java index 088b070f3..b05f8aba4 100644 --- a/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/controller/SubstationController.java +++ b/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/controller/SubstationController.java @@ -40,7 +40,7 @@ public class SubstationController extends BaseController { @OperateInfo(info = LogEnum.BUSINESS_COMMON) @ApiOperation("获取变电站详情") @PostMapping("getSubstationById") - HttpResult> getSubstationById(@RequestParam("subId") List subId){ + HttpResult> getSubstationById(@RequestBody List subId){ String methodDescribe = getMethodDescribe("getSubstationById"); List substationDTOList = substationService.getSubstationById(subId); return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, substationDTOList, methodDescribe);