From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 06 一月 2025 16:00:58 +0800 Subject: [PATCH] chartParamList api --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmPredictAlarmConfigController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmPredictAlarmConfigController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmPredictAlarmConfigController.java index 26c1675..9a8ddd0 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmPredictAlarmConfigController.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/MmPredictAlarmConfigController.java @@ -55,11 +55,11 @@ return success(true); } - @GetMapping("/get") + @GetMapping("/get/{id}") @Operation(summary = "获得预警配置") @Parameter(name = "id", description = "编号", required = true, example = "1024") @PreAuthorize("@ss.hasPermission('pre:alarm-config:query')") - public CommonResult<MmPredictAlarmConfigRespVO> getInfo(@RequestParam("id") String id) { + public CommonResult<MmPredictAlarmConfigRespVO> getInfo(@PathVariable("id") String id) { MmPredictAlarmConfigEntity entity = mmPredictAlarmConfigService.getInfo(id); return success(BeanUtils.toBean(entity, MmPredictAlarmConfigRespVO.class)); } @@ -68,7 +68,7 @@ @Operation(summary = "获得预警配置分页") @PreAuthorize("@ss.hasPermission('pre:alarm-config:query')") public CommonResult<PageResult<MmPredictAlarmConfigRespVO>> getTenantPage(@Valid MmPredictAlarmConfigPageReqVO pageVO) { - PageResult<MmPredictAlarmConfigEntity> pageResult = mmPredictAlarmConfigService.page(pageVO); + PageResult<MmPredictAlarmConfigRespVO> pageResult = mmPredictAlarmConfigService.page(pageVO); return success(BeanUtils.toBean(pageResult, MmPredictAlarmConfigRespVO.class)); } } \ No newline at end of file -- Gitblit v1.9.3