From e18f2001fda0eccfbf2aa617e127c70b92083909 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期六, 14 九月 2024 16:37:00 +0800 Subject: [PATCH] mpk 模型方法添加参数、选项 dao --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java index 5a414c1..8e1089c 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java @@ -52,11 +52,11 @@ /** * 管网信息 */ - @GetMapping("/get") - public CommonResult<DmModuleEntity> info(@RequestParam("id") String id){ - DmModuleEntity module = dmModuleService.selectById(id); + @GetMapping("/get/{id}") + public CommonResult<DmModuleEntity> info(@PathVariable("id") String id){ + DmModuleEntity info = dmModuleService.selectById(id); - return success(module); + return success(info); } /** -- Gitblit v1.9.3