From d3334bbb98a1524e67bd50aee1078a7eec40a55f Mon Sep 17 00:00:00 2001 From: xing <xingjs@qq.com> Date: 星期日, 26 二月 2023 13:05:55 +0800 Subject: [PATCH] 20230226@xingjs@提交官网一张图相关内容接口(优化完善sql--修改数据存储sql) --- src/main/java/com/lf/server/entity/all/StaticData.java | 76 +++++++++++++++++++++++++++++++------ 1 files changed, 63 insertions(+), 13 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 c171178..f2629c0 100644 --- a/src/main/java/com/lf/server/entity/all/StaticData.java +++ b/src/main/java/com/lf/server/entity/all/StaticData.java @@ -12,7 +12,12 @@ /** * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐� */ - public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/fmeit/", "/perms/", "/floatserver/", "/error"}; + public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/fmeit/", "/crds/", "/floatserver/", "/wmts/select", "/swagger", "/error"}; + + /** + * 鏁板�硷細2 + */ + public final static int TWO = 2; /** * 鏁板�硷細4 @@ -35,6 +40,11 @@ public final static int SIXTEEN = 16; /** + * 鏁板�硷細100 + */ + public final static int ONE_HUNDRED = 100; + + /** * 鏁板�硷細200 */ public final static int TWO_HUNDRED = 200; @@ -48,6 +58,11 @@ * 鏁板�硷細1050.0 */ public static final double D1050 = 1050.0; + + /** + * 瀛楃1 + */ + public final static String S1 = "1"; /** * 绛夊彿 @@ -80,9 +95,9 @@ public final static String XLS = ".xls"; /** - * SHP鏂囦欢 + * xlsx鏂囦欢 */ - public final static String SHP = ".shp"; + public final static String XLSX = ".xlsx"; /** * MDB鏂囦欢 @@ -90,19 +105,29 @@ public final static String MDB = ".mdb"; /** + * SHP鏂囦欢 + */ + public final static String SHP = ".shp"; + + /** * GDB鏂囦欢 */ public final static String GDB = ".gdb"; /** - * xlsx鏂囦欢 - */ - public final static String XLSX = ".xlsx"; - - /** * IMG鏂囦欢 */ public final static String IMG = ".img"; + + /** + * MPT鏂囦欢 + */ + public final static String MPT = ".mpt"; + + /** + * 3DML鏂囦欢 + */ + public final static String D3DML = ".3dml"; /** * TIF鏂囦欢 @@ -113,6 +138,11 @@ * TIFF鏂囦欢 */ public final static String TIFF = ".tiff"; + + /** + * admin + */ + public final static String ADMIN = "admin"; /** * 鐗堟湰鍙� @@ -150,9 +180,24 @@ public final static String DRUID_COOKIE_KEY = "JSESSIONID"; /** - * 涓婁紶鏂囦欢绫诲瀷 + * YES */ - public final static String FILE_TYPES = "'xls','shp','gdb','mdb'"; + public final static String YES = "YES"; + + /** + * NO + */ + public final static String NO = "NO"; + + /** + * 绾胯矾 + */ + public final static String ROUTE = "绾胯矾"; + + /** + * 绌胯法瓒� + */ + public final static String CROSSING = "绌胯法瓒�"; /** * 16杩涘埗 @@ -167,17 +212,17 @@ /** * MPT鏂囦欢鎵╁睍鍚� */ - public final static List<String> MPT_EXTENSIONS = new ArrayList<>(Arrays.asList(".mpt", ".midx", ".strmi")); + 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")); + 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_EXTENSIONS = 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", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".tif.xml")); /** * TIFF鏂囦欢鎵╁睍鍚� @@ -215,6 +260,11 @@ public final static List<String> MDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("Shape", "SHAPE_LENG", "Shape_Length", "Shape_Area", "OBJECTID_1")); /** + * 鏍囩粯Shp鎺掗櫎瀛楁 + */ + public final static List<String> MARK_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("wkt", "geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName")); + + /** * 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")); -- Gitblit v1.9.3