From 9cfbabe0cbe096cfd1343d5bd6540bc47e01836a Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 09 九月 2024 15:09:53 +0800
Subject: [PATCH] 修复查询问题

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