Browse Source

[feat]: 修改:查询单个仓库信息条件的接收Id形参改为id。

dev
zhangsiqi 3 months ago
parent
commit
64545bfd25
  1. 4
      ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StockInfoController.java

4
ruoyi-admin/src/main/java/com/ruoyi/stock/controller/StockInfoController.java

@ -90,8 +90,8 @@ public class StockInfoController extends BaseController
/** /**
* 修改仓库信息 * 修改仓库信息
*/ */
@GetMapping("/edit/{Id}") @GetMapping("/edit/{id}")
public String edit(@PathVariable("Id") Long id, ModelMap mmap) public String edit(@PathVariable("id") Long id, ModelMap mmap)
{ {
StockInfo stockInfo = stockInfoService.selectStockInfoById(id); StockInfo stockInfo = stockInfoService.selectStockInfoById(id);
mmap.put("stockInfo", stockInfo); mmap.put("stockInfo", stockInfo);

Loading…
Cancel
Save