diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java index a417037ba..885e6f54c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java @@ -71,9 +71,9 @@ public class SysOperlogController extends BaseController @RequiresPermissions("monitor:operlog:detail") @GetMapping("/detail/{operId}") - public String detail(@PathVariable("operId") Long deptId, ModelMap mmap) + public String detail(@PathVariable("operId") Long operId, ModelMap mmap) { - mmap.put("operLog", operLogService.selectOperLogById(deptId)); + mmap.put("operLog", operLogService.selectOperLogById(operId)); return prefix + "/detail"; }