From 9bce48a9f30f7d80c43f43f46d40df20fcb00e15 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 03 二月 2023 09:39:59 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/entity/all/StaticData.java |  218 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 216 insertions(+), 2 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 94ab8ad..4625c56 100644
--- a/src/main/java/com/lf/server/entity/all/StaticData.java
+++ b/src/main/java/com/lf/server/entity/all/StaticData.java
@@ -1,10 +1,134 @@
 package com.lf.server.entity.all;
 
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
 /**
  * 闈欐�佹暟鎹被
  * @author WWW
  */
 public class StaticData {
+    /**
+     * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐�
+     */
+    public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/fmeit/", "/perms/", "/floatserver/", "/error"};
+
+    /**
+     * 鏁板�硷細4
+     */
+    public final static int FOUR = 4;
+
+    /**
+     * 鏁板�硷細9
+     */
+    public final static int NINE = 9;
+
+    /**
+     * 鏁板�硷細10
+     */
+    public final static int TEN = 10;
+
+    /**
+     * 鏁板�硷細16
+     */
+    public final static int SIXTEEN = 16;
+
+    /**
+     * 鏁板�硷細100
+     */
+    public final static int ONE_HUNDRED = 100;
+
+    /**
+     * 鏁板�硷細200
+     */
+    public final static int TWO_HUNDRED = 200;
+
+    /**
+     * 鏁板�硷細1024.0
+     */
+    public static final double D1024 = 1024.0;
+
+    /**
+     * 鏁板�硷細1050.0
+     */
+    public static final double D1050 = 1050.0;
+
+    /**
+     * 绛夊彿
+     */
+    public final static String EQ = "=";
+
+    /**
+     * 瀛楃鐐�
+     */
+    public final static String POINT = ".";
+
+    /**
+     * 閫楀彿
+     */
+    public final static String COMMA = ",";
+
+    /**
+     * 姝f枩鏉�
+     */
+    public final static String SLASH = "/";
+
+    /**
+     * zip鏂囦欢
+     */
+    public final static String ZIP = ".zip";
+
+    /**
+     * xls鏂囦欢
+     */
+    public final static String XLS = ".xls";
+
+    /**
+     * xlsx鏂囦欢
+     */
+    public final static String XLSX = ".xlsx";
+
+    /**
+     * MDB鏂囦欢
+     */
+    public final static String MDB = ".mdb";
+
+    /**
+     * SHP鏂囦欢
+     */
+    public final static String SHP = ".shp";
+
+    /**
+     * GDB鏂囦欢
+     */
+    public final static String GDB = ".gdb";
+
+    /**
+     * IMG鏂囦欢
+     */
+    public final static String IMG = ".img";
+
+    /**
+     * MPT鏂囦欢
+     */
+    public final static String MPT = ".mpt";
+
+    /**
+     * 3DML鏂囦欢
+     */
+    public final static String _3DML = ".3dml";
+
+    /**
+     * TIF鏂囦欢
+     */
+    public final static String TIF = ".tif";
+
+    /**
+     * TIFF鏂囦欢
+     */
+    public final static String TIFF = ".tiff";
+
     /**
      * 鐗堟湰鍙�
      */
@@ -26,7 +150,97 @@
     public final static String TEXT_ENCODER = "UTF-8";
 
     /**
-     * 缂撳瓨鍓嶇紑
+     * 鎬昏川妫�
      */
-    public final static String CACHE_PREFIX = "LF";
+    public final static String CHECK_MAIN = "checkMain";
+
+    /**
+     * Object瀵硅薄
+     */
+    public final static String OBJECT = "java.lang.Object";
+
+    /**
+     * Cookie涓璬ruid閿�
+     */
+    public final static String DRUID_COOKIE_KEY = "JSESSIONID";
+
+    /**
+     * 涓婁紶鏂囦欢绫诲瀷 *
+     */
+    public final static String FILE_TYPES = "'xls','shp','gdb','mdb'";
+
+    /**
+     * 16杩涘埗
+     */
+    public static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
+
+    /**
+     * 瀵嗙爜姝e垯琛ㄨ揪寮�
+     */
+    public final static String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$";
+
+    /**
+     * MPT鏂囦欢鎵╁睍鍚�
+     */
+    public final static List<String> MPT_EXT = new ArrayList<>(Arrays.asList(".midx", ".strmi"));
+
+    /**
+     * IMG鏂囦欢鎵╁睍鍚�
+     */
+    public final static List<String> IMG_EXT = new ArrayList<>(Arrays.asList(".rrd", ".img.aux.xml", ".hdr", ".img.enp", ".img.xml"));
+
+    /**
+     * TIF鏂囦欢鎵╁睍鍚�
+     */
+    public final static List<String> TIF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".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"));
+
+    /**
+     * SHP鏂囦欢鎵╁睍鍚�
+     */
+    public final static List<String> SHP_EXT = new ArrayList<>(Arrays.asList(".shx", ".dbf", ".prj", ".cpg"));
+
+    /**
+     * 鎵�鏈夋枃浠舵墿灞曞悕
+     */
+    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", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".png", ".img", ".tif", ".tiff", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip"));
+
+    /**
+     * 鎻掑叆鎺掗櫎瀛楁
+     */
+    public final static List<String> INSERT_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "objectid", "updateuser", "updatetime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
+
+    /**
+     * 鏇存柊鎺掗櫎瀛楁
+     */
+    public final static List<String> UPDATE_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("objectid", "createuser", "createtime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
+
+    /**
+     * 璇诲彇鎺掗櫎瀛楁
+     */
+    public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
+
+    /**
+     * MDB鎺掗櫎瀛楁
+     */
+    public final static List<String> MDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("Shape", "SHAPE_LENG", "Shape_Length", "Shape_Area", "OBJECTID_1"));
+
+    /**
+     * GDB鎺掗櫎瀛楁
+     */
+    public final static List<String> GDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
+
+    /**
+     * 绠$嚎鍒嗘瀽琛ㄥ悕闆嗗悎
+     */
+    public final static List<String> PIPE_ANALYSIS_TABS = new ArrayList<>(Arrays.asList("bd.dlg_25w_hydl", "bd.dlg_25w_lrdl", "bd.dlg_25w_lrrl", "bd.dlg_25w_hyda"));
+
+    /**
+     * 绠$嚎鎺掗櫎瀛楁
+     */
+    public final static List<String> PIPE_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("serialVersionUID", "tabs", "pwd", "gid", "wkt"));
 }

--
Gitblit v1.9.3