From 64545bfd259a534d219f4943195cb1cd95399839 Mon Sep 17 00:00:00 2001 From: zhangsiqi <2825463979@qq.com> Date: Thu, 5 Sep 2024 18:19:21 +0800 Subject: [PATCH] =?UTF-8?q?[feat]:=20=E4=BF=AE=E6=94=B9=EF=BC=9A=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=8D=95=E4=B8=AA=E4=BB=93=E5=BA=93=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E7=9A=84=E6=8E=A5=E6=94=B6Id=E5=BD=A2?= =?UTF-8?q?=E5=8F=82=E6=94=B9=E4=B8=BAid=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/stock/controller/StockInfoController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StockInfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StockInfoController.java index bd972e0d..97589b72 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StockInfoController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StockInfoController.java @@ -90,8 +90,8 @@ public class StockInfoController extends BaseController /** * 修改仓库信息 */ - @GetMapping("/edit/{Id}") - public String edit(@PathVariable("Id") Long id, ModelMap mmap) + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) { StockInfo stockInfo = stockInfoService.selectStockInfoById(id); mmap.put("stockInfo", stockInfo);