From 496f96824a1e1bf351236d13bcd7dcedf968f20c Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 21 八月 2023 11:15:44 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/all/StaticData.java |   27 ++++++++++++++++++++-------
 1 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/src/main/java/com/lf/server/entity/all/StaticData.java b/src/main/java/com/lf/server/entity/all/StaticData.java
index b01104c..9449f54 100644
--- a/src/main/java/com/lf/server/entity/all/StaticData.java
+++ b/src/main/java/com/lf/server/entity/all/StaticData.java
@@ -1,7 +1,6 @@
 package com.lf.server.entity.all;
 
 import com.alibaba.fastjson.JSON;
-import com.lf.server.helper.StringHelper;
 
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -30,6 +29,8 @@
     public final static int TWO_HUNDRED = 200;
 
     public final static int ONE_HUNDRED_THOUSAND = 100000;
+
+    public static final double D90 = 90.0;
 
     public static final double D100 = 100.0;
 
@@ -88,6 +89,11 @@
     public final static String COMMA = ",";
 
     /**
+     * 娉㈡氮鍙�
+     */
+    public final static String TILDE = "~";
+
+    /**
      * 鍗曞紩鍙�
      */
     public final static String SINGLE_QUOTES = "'";
@@ -111,6 +117,8 @@
 
     public final static String SHP = ".shp";
 
+    public final static String NGDB = "gdb";
+
     public final static String GDB = ".gdb";
 
     public final static String JPG = ".jpg";
@@ -129,7 +137,7 @@
 
     public final static String OSGB = ".osgb";
 
-    public final static String ADMIN = "admin";
+    public static String ADMIN = "admin";
 
     public final static String SYS_META = "sysmeta";
 
@@ -214,7 +222,12 @@
     /**
      * JPG鏂囦欢鎵╁睍鍚�
      */
-    public final static List<String> JPG_EXT = new ArrayList<>(Arrays.asList(".jgw", ".jpg.aux.xml", ".jpg.xml", ".prj"));
+    public final static List<String> JPG_EXT = new ArrayList<>(Arrays.asList(".jpg.aux.xml", ".jpg.ovr", ".jpg.xml", ".jgw", ".prj"));
+
+    /**
+     * JP2鏂囦欢鎵╁睍鍚�
+     */
+    public final static List<String> JP2_EXT = new ArrayList<>(Arrays.asList(".jp2.aux.xml", ".jp2.ovr", ".jp2.xml", ".jgw", ".prj", ".jp2.html", ".jp2.txt"));
 
     /**
      * IMG鏂囦欢鎵╁睍鍚�
@@ -224,12 +237,12 @@
     /**
      * TIF鏂囦欢鎵╁睍鍚�
      */
-    public final static List<String> TIF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".tif.xml"));
+    public final static List<String> TIF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".aux", ".tif.ovr", ".tif.aux.xml", ".tif.xml"));
 
     /**
      * TIFF鏂囦欢鎵╁睍鍚�
      */
-    public final static List<String> TIFF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tiff.ovr", ".tiff.aux.xml", ".tiff.enp", ".tiff.xml"));
+    public final static List<String> TIFF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".aux", ".tiff.ovr", ".tiff.aux.xml", ".tiff.xml"));
 
     /**
      * SHP鏂囦欢鎵╁睍鍚�
@@ -239,12 +252,12 @@
     /**
      * Mapper鎺掗櫎鎵╁睍鍚�
      */
-    public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml"));
+    public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".jpg.aux.xml", ".jpg.xml", ".jp2.aux.xml", ".jp2.xml", ".jp2.html", ".jp2.txt", ".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml"));
 
     /**
      * 鎵�鏈夋枃浠舵墿灞曞悕
      */
-    public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".ei.mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".png", ".img", ".tif", ".tiff", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip"));
+    public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".ei.mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".jp2", ".png", ".img", ".tif", ".tiff", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip"));
 
     /**
      * 鎻掑叆鎺掗櫎瀛楁

--
Gitblit v1.9.3