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