src/main/java/com/lf/server/config/PropertiesConfig.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/lf/server/controller/all/BaseUploadController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/lf/server/entity/data/MetaFileEntity.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/lf/server/service/data/FmeService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/lf/server/config/PropertiesConfig.java
@@ -10,6 +10,9 @@ @Configuration @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") public class PropertiesConfig { @Value("${sys.fme.url}") private String fmeUrl; @Value("${sys.path.download}") private String downloadPath; @@ -28,20 +31,12 @@ // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") private String druidPwd; public String getDruidUser() { return druidUser; public String getFmeUrl() { return fmeUrl; } public void setDruidUser(String druidUser) { this.druidUser = druidUser; } public String getDruidPwd() { return druidPwd; } public void setDruidPwd(String druidPwd) { this.druidPwd = druidPwd; public void setFmeUrl(String fmeUrl) { this.fmeUrl = fmeUrl; } public String getDownloadPath() { @@ -75,4 +70,20 @@ public void setTempPath(String tempPath) { this.tempPath = tempPath; } public String getDruidUser() { return druidUser; } public void setDruidUser(String druidUser) { this.druidUser = druidUser; } public String getDruidPwd() { return druidPwd; } public void setDruidPwd(String druidPwd) { this.druidPwd = druidPwd; } } src/main/java/com/lf/server/controller/all/BaseUploadController.java
@@ -7,7 +7,6 @@ import com.lf.server.entity.data.VerEntity; import com.lf.server.entity.sys.DepEntity; import com.lf.server.entity.sys.UserEntity; import com.lf.server.helper.StringHelper; import com.lf.server.service.all.BaseUploadService; import com.lf.server.service.data.DirService; import com.lf.server.service.data.MetaService; src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java
@@ -7,7 +7,7 @@ public class KeyValueEntity { private String key; private String value; private Object value; public KeyValueEntity() { } @@ -20,11 +20,11 @@ this.key = key; } public String getValue() { public Object getValue() { return value; } public void setValue(String value) { public void setValue(Object value) { this.value = value; } } src/main/java/com/lf/server/entity/data/MetaFileEntity.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,13 @@ package com.lf.server.entity.data; import java.io.Serializable; /** * å æ°æ®æä»¶ * @author WWW */ public class MetaFileEntity implements Serializable { private static final long serialVersionUID = -3688958480700165163L; } src/main/java/com/lf/server/service/data/FmeService.java
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,92 @@ package com.lf.server.service.data; import com.lf.server.config.PropertiesConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * FMEæå¡ç±» * @author WWW */ @Service public class FmeService { @Autowired PropertiesConfig propertiesConfig; /** * OSGBæ£æ¥ï¼.osgb + .xls/.xlsx */ public void checkOsgb(){ } /** * è¡¨æ ¼æ°æ®æ£æ¥ï¼.xls/.xlsx */ public void checkXls(){ } /** * ç¹äºæ£æ¥ï¼.laz + .xls/.xlsx */ public void checkLaz(){ } /** * é«ç¨æ£æ¥ï¼.tif/.tfw/.tif.ovr + .dwg */ public void checkDem(){ } /** * 屿§æ£æ¥ï¼.dwg, *dlg.gdb */ public void checkAttrs(){ } /** * æææ£æ¥ï¼*å°å½¢å¾.dwg */ public void checkTopology(){ } /** * å¾é¢æ´é¥°æ£æ¥ï¼.dwg */ public void checkDecorate(){ } /** * åç¹æ£æ¥ï¼åé¢å¾.dwg */ public void checkOrigin(){ } /** * æ æ ¼æ£æ¥ï¼.tif/.tfw/.tif.ovr + .xls/.xlsx */ public void checkDom(){ } /** * æ°å¦åºç¡æ£æ¥ï¼.shp, .gdb, .xls/.xlsx */ public void checkMath(){ } /** * å æ°æ®æ£æ¥ï¼.xls/.xlsx */ public void checkMeta(){ } } src/main/resources/application.yml
@@ -12,8 +12,8 @@ # redis redis: database: 0 host: 192.168.20.39 port: 6379 host: pipe.cppe.com port: 6369 password: rediS_5L#F4_Server timeout: 6000 # è¿æ¥è¶ æ¶æ¶é¿ï¼æ¯«ç§ï¼ pool: @@ -41,9 +41,11 @@ datasource: name: prod # JDBC åºæ¬é ç½® ¤tSchema=public url: jdbc:postgresql://192.168.20.39:5433/langfang?useAffectedRows=true #url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true url: jdbc:postgresql://pipe.cppe.com:5433/langfang?useAffectedRows=true username : postgres password: postgres password: Postgres!_14_Lf #password: postgres driver-class-name: org.postgresql.Driver paltform: POSTGRESQL type: com.alibaba.druid.pool.DruidDataSource @@ -141,6 +143,9 @@ # ç³»ç»é ç½® sys: fme: # FMEæå¡è·¯å¾ url: http://pipe.cppe.com:88/ path: # ä¸è½½ç®å½ï¼ä¸è½½æä»¶ï¼ download: D:\LF\download