From ed48aa9f30a87c528f071d06bf6b59d7d15428e9 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期一, 26 五月 2025 16:12:55 +0800 Subject: [PATCH] 点检报表后端 --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcVacationManagementController.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcVacationManagementController.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcVacationManagementController.java index 495ae4d..46f902d 100644 --- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcVacationManagementController.java +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcVacationManagementController.java @@ -115,9 +115,13 @@ * @param mdcVacationManagement * @return */ + @AutoLog(value = "鍋囨湡绠$悊-瀵煎嚭excel") + @ApiOperation(value = "鍋囨湡绠$悊-瀵煎嚭excel",notes = "鍋囨湡绠$悊-瀵煎嚭excel") @RequestMapping("/exportXls") public ModelAndView exportXls(HttpServletRequest request, MdcVacationManagement mdcVacationManagement) { - return super.exportXls(request, mdcVacationManagement, MdcVacationManagement.class, "鍋囨湡绠$悊瀵煎嚭"); + LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + String userId = user.getId(); + return mdcVacationManagementService.exportXls(userId, mdcVacationManagement); } /** -- Gitblit v1.9.3