管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-18 a55fb5ff1c9901568e618df44e67912961a0d705
1
已修改3个文件
30 ■■■■ 文件已修改
src/main/java/com/lf/server/config/PropertiesConfig.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/service/data/UploadService.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/config/PropertiesConfig.java
@@ -28,12 +28,6 @@
    // @Value("${spring.datasource.druid.stat-view-servlet.login-password}")
    private String druidPwd;
    @Value("${sys.path.publishMpt}")
    private String publishMptPath;
    @Value("${sys.path.publish3dml}")
    private String publish3dmlPath;
    @Value("${sys.tile_path}")
    private String tilePath;
@@ -59,14 +53,6 @@
    public String getDruidPwd() {
        return druidPwd;
    }
    public String getPublishMptPath() {
        return publishMptPath;
    }
    public String getPublish3dmlPath() {
        return publish3dmlPath;
    }
    public String getTilePath() {
src/main/java/com/lf/server/service/data/UploadService.java
@@ -471,10 +471,10 @@
            }
            switch (mf.getExtName()) {
                case StaticData.MPT:
                    linkFiles(mf, StaticData.MPT_EXT, pathHelper.getConfig().getPublishMptPath());
                    linkFiles(mf, StaticData.MPT_EXT, pathHelper.getConfig().getUploadPath() + File.separator + "SG");
                    break;
                case StaticData.D3DML:
                    linkFiles(mf, null, pathHelper.getConfig().getPublish3dmlPath());
                    linkFiles(mf, null, pathHelper.getConfig().getUploadPath() + File.separator + "SG");
                    break;
                default:
                    break;
src/main/resources/application.yml
@@ -42,11 +42,11 @@
    name: prod
    # JDBC 基本配置 &currentSchema=public
    #url: jdbc:postgresql://103.85.165.99:5433/langfang?useAffectedRows=true
    url: jdbc:postgresql://192.168.20.205:5433/langfang?useAffectedRows=true
    #url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true
    #url: jdbc:postgresql://192.168.20.205:5433/langfang?useAffectedRows=true
    url: jdbc:postgresql://127.0.0.1:5433/langfang?useAffectedRows=true
    username : postgres
    password: Postgres!_14_Lf
    #password: postgres
    #password: Postgres!_14_Lf
    password: postgres
    driver-class-name: org.postgresql.Driver
    paltform: POSTGRESQL
    type: com.alibaba.druid.pool.DruidDataSource
@@ -162,9 +162,5 @@
    share: D:\LF\share
    # 临时目录(临时上传文件)
    temp: D:\LF\temp
    # 发布Mpt目录
    publishMpt: D:\LF\publishMpt
    # 发布3DML目录
    publish3dml: D:\LF\publish3dml
  # 上传附件表
  attachTabs: bd.b_pac_hydrogeology,bd.b_pac_frozensoil,bd.b_pac_geologic_hazard,bd.b_pac_marine_meteorological,bd.b_pac_meteorological,bs.m_equipment_nameplate,bs.m_hydraulic_protection,bs.m_marker,bs.s_explorationpoint,bs.u_sectionline