From 796b44ea813a1133beae4f3a67f1c0263510c0c7 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期日, 17 十一月 2024 09:45:07 +0800 Subject: [PATCH] 1 --- src/main/java/com/moon/server/service/sys/ReportService.java | 32 +------------------------------- 1 files changed, 1 insertions(+), 31 deletions(-) diff --git a/src/main/java/com/moon/server/service/sys/ReportService.java b/src/main/java/com/moon/server/service/sys/ReportService.java index 0ac0c20..6c8c423 100644 --- a/src/main/java/com/moon/server/service/sys/ReportService.java +++ b/src/main/java/com/moon/server/service/sys/ReportService.java @@ -16,11 +16,8 @@ import java.io.File; import java.util.*; -/** - * 鎶ュ憡妯℃澘 - * @author WWW - */ @Service +@SuppressWarnings("ALL") public class ReportService implements ReportMapper { @Autowired ReportMapper reportMapper; @@ -113,9 +110,6 @@ return reportMapper.countSizesByPrj(); } - /** - * 鍒涘缓鎶ュ憡 - */ public void createReport(UserEntity ue, ReportEntity re, HttpServletResponse res) throws Exception { AttachEntity ae = attachService.selectByGuid(re.getGuid()); if (null == ae) { @@ -144,9 +138,6 @@ } } - /** - * 鐢熸垚鎶ュ憡 - */ private void generateReport(String source, String target, ReportEntity re) { if (StaticData.S1.equals(re.getType())) { switch (re.getCode()) { @@ -179,9 +170,6 @@ } } - /** - * 鍒涘缓 鐢ㄦ埛娴侀噺缁熻 Word - */ public void createCountOperatesWord(String source, String target) { List<CountEntity> list = countOperates(); if (null == list || list.isEmpty()) { @@ -198,9 +186,6 @@ WordHelper.generateWord(source, target, null, addList); } - /** - * 鍒涘缓 鏈嶅姟璋冪敤閲忕粺璁� Word - */ public void createCountServicesWord(String source, String target) { List<CountEntity> list = countServices(); if (null == list || list.isEmpty()) { @@ -217,9 +202,6 @@ WordHelper.generateWord(source, target, null, addList); } - /** - * 鍒涘缓 鏁版嵁閲忕粺璁� Word - */ public void createCountSizesWord(String source, String target) { List<CountEntity> list = countSizes(); if (null == list || list.isEmpty()) { @@ -236,9 +218,6 @@ WordHelper.generateWord(source, target, null, addList); } - /** - * 鍒涘缓 鐢ㄦ埛娴侀噺缁熻 Excel - */ public void createCountOperatesExcel(String source, String target) { List<CountEntity> list = countOperates(); if (null == list || list.isEmpty()) { @@ -256,9 +235,6 @@ ExcelHelper.writeToTemplate(source, target, map); } - /** - * 鍒涘缓 鏈嶅姟璋冪敤閲忕粺璁� Excel - */ public void createCountServicesExcel(String source, String target) { List<CountEntity> list = countServices(); if (null == list || list.isEmpty()) { @@ -276,9 +252,6 @@ ExcelHelper.writeToTemplate(source, target, map); } - /** - * 鍒涘缓 鏁版嵁閲忕粺璁� Excel - */ public void createCountSizesExcel(String source, String target) { List<CountEntity> list = countSizes(); if (null == list || list.isEmpty()) { @@ -297,9 +270,6 @@ ExcelHelper.writeToTemplate(source, target, map); } - /** - * 鑾峰彇涓嬭浇瀹炰綋绫� - */ private DownloadEntity getDownloadEntity(UserEntity ue, String file) { DownloadEntity de = new DownloadEntity(); de.setName(FileHelper.getFileName(file)); -- Gitblit v1.9.3