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/show/ExportService.java | 19 +------------------ 1 files changed, 1 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/moon/server/service/show/ExportService.java b/src/main/java/com/moon/server/service/show/ExportService.java index 2b26972..0f4c6ea 100644 --- a/src/main/java/com/moon/server/service/show/ExportService.java +++ b/src/main/java/com/moon/server/service/show/ExportService.java @@ -20,11 +20,8 @@ import java.util.HashMap; import java.util.Map; -/** - * 鍦ㄧ嚎鍒跺浘 - * @author WWW - */ @Service +@SuppressWarnings("ALL") public class ExportService { @Value("${sys.exportServer}") private String exportServer; @@ -35,14 +32,6 @@ @Autowired DownloadService downloadService; - /** - * POST璇锋眰鍑哄浘鏈嶅姟 - * - * @param ue 鐢ㄦ埛绫� - * @param entity 鍦ㄧ嚎鍒跺浘绫� - * @return 鎴愬姛 - * @throws Exception - */ public String post(UserEntity ue, ExportEntity entity) throws Exception { Map<String, Object> map = getMapData(entity); String url = exportServer + "/Export/Start"; @@ -69,9 +58,6 @@ return rows > 0 ? de.getGuid() : null; } - /** - * 鑾峰彇Map鏁版嵁 - */ private Map<String, Object> getMapData(ExportEntity entity) { Map<String, Object> map = new HashMap<String, Object>(3); @@ -94,9 +80,6 @@ return map; } - /** - * 鑾峰彇涓嬭浇瀹炰綋绫� - */ private DownloadEntity getDownloadEntity(UserEntity ue, ExportEntity entity, String file) throws Exception { DownloadEntity de = new DownloadEntity(); de.setName(FileHelper.getFileName(file)); -- Gitblit v1.9.3