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