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/PipelineService.java |   31 +------------------------------
 1 files changed, 1 insertions(+), 30 deletions(-)

diff --git a/src/main/java/com/moon/server/service/show/PipelineService.java b/src/main/java/com/moon/server/service/show/PipelineService.java
index 0d358f8..83f7aa4 100644
--- a/src/main/java/com/moon/server/service/show/PipelineService.java
+++ b/src/main/java/com/moon/server/service/show/PipelineService.java
@@ -23,11 +23,8 @@
 import java.util.List;
 import java.util.Map;
 
-/**
- * 绠¢亾鍒嗘瀽鏈嶅姟绫�
- * @author WWW
- */
 @Service
+@SuppressWarnings("ALL")
 public class PipelineService implements PipelineMapper {
     @Autowired
     PathHelper pathHelper;
@@ -57,14 +54,6 @@
         return pipelineMapper.selectPipeAnalysis(tab, gid);
     }
 
-    /**
-     * 鍒涘缓Zip鍖�
-     *
-     * @param ue  鐢ㄦ埛瀹炰綋
-     * @param map 绠¢亾鍒嗘瀽鏁版嵁闆嗗悎
-     * @param pwd 瀵嗙爜
-     * @return 涓嬭浇鏂囦欢GUID
-     */
     public String createZipFile(UserEntity ue, Map<String, List<PipelineEntity>> map, String pwd) throws Exception {
         String tempName = StringHelper.YMDHMS2_FORMAT.format(new Date());
         String tempPath = pathHelper.getTempPath(tempName);
@@ -90,9 +79,6 @@
         return rows > 0 ? downloadEntity.getGuid() : null;
     }
 
-    /**
-     * 鍒涘缓GDB
-     */
     public static void createGdb(String filePath, Map<String, List<PipelineEntity>> map) throws Exception {
         Driver driver = null;
         DataSource dataSource = null;
@@ -136,9 +122,6 @@
         }
     }
 
-    /**
-     * 鍒涘缓鍥惧眰
-     */
     private static Layer createLayer(DataSource dataSource, String tab, PipelineEntity pe) {
         int geomType = pe.getWkt().contains("POINT") ? ogr.wkbMultiPoint : ogr.wkbMultiLineString;
 
@@ -148,9 +131,6 @@
         return dataSource.CreateLayer(tab, sr, geomType, null);
     }
 
-    /**
-     * 鑾峰彇瀛楁
-     */
     private static void getFields(Class clazz, List<Field> list) {
         try {
             Field[] fields = clazz.getDeclaredFields();
@@ -171,9 +151,6 @@
         }
     }
 
-    /**
-     * 璁剧疆鍥惧眰鏁版嵁
-     */
     private static void setLayerData(Layer layer, List<Field> fields, List<PipelineEntity> list) throws Exception {
         for (PipelineEntity t : list) {
             Feature f = new Feature(layer.GetLayerDefn());
@@ -191,9 +168,6 @@
         }
     }
 
-    /**
-     * 娣诲姞Zip鏂囦欢
-     */
     private void addZipFiles(ZipFile zip, ZipParameters params, File[] files) {
         if (null == files || files.length == 0) {
             return;
@@ -208,9 +182,6 @@
         }
     }
 
-    /**
-     * 鑾峰彇涓嬭浇瀹炰綋绫�
-     */
     private DownloadEntity getDownloadEntity(UserEntity ue, String file, String pwd) throws Exception {
         DownloadEntity de = new DownloadEntity();
         de.setName(FileHelper.getFileName(file));

--
Gitblit v1.9.3