From 035d2ab3dae3b0ce20555a423b3bcabb4371543c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 20 二月 2023 19:08:10 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/controller/sys/ReportController.java | 24 ------------------------ 1 files changed, 0 insertions(+), 24 deletions(-) diff --git a/src/main/java/com/lf/server/controller/sys/ReportController.java b/src/main/java/com/lf/server/controller/sys/ReportController.java index b44c6f4..a854cc9 100644 --- a/src/main/java/com/lf/server/controller/sys/ReportController.java +++ b/src/main/java/com/lf/server/controller/sys/ReportController.java @@ -5,7 +5,6 @@ import com.lf.server.entity.all.ResponseMsg; import com.lf.server.entity.sys.ReportEntity; import com.lf.server.entity.sys.UserEntity; -import com.lf.server.helper.StringHelper; import com.lf.server.service.all.UploadAttachService; import com.lf.server.service.sys.ReportService; import com.lf.server.service.sys.TokenService; @@ -180,28 +179,5 @@ @GetMapping(value = "/download") public void download(String guid, HttpServletResponse res) { uploadAttachService.download(guid, res); - } - - @SysLog() - @ApiOperation(value = "涓嬭浇鎶ュ憡") - @ApiImplicitParams({ - @ApiImplicitParam(name = "guid", value = "闄勪欢Guid", dataType = "String", paramType = "body") - }) - @GetMapping(value = "/downloadReport") - public void downloadReport(Integer id, HttpServletResponse res) { - try { - if (null == id || id < 1) { - return; - } - - ReportEntity re = reportService.selectById(id); - if (null == re || StringHelper.isEmpty(re.getGuid()) || StringHelper.isEmpty(re.getType()) || StringHelper.isEmpty(re.getCode())) { - return; - } - - reportService.createReport(re, res); - } catch (Exception ex) { - log.error(ex.getMessage(), ex); - } } } -- Gitblit v1.9.3