| | |
| | | // @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; |
| | | |
| | |
| | | |
| | | public String getDruidPwd() { |
| | | return druidPwd; |
| | | } |
| | | |
| | | public String getPublishMptPath() { |
| | | return publishMptPath; |
| | | } |
| | | |
| | | public String getPublish3dmlPath() { |
| | | return publish3dmlPath; |
| | | } |
| | | |
| | | public String getTilePath() { |
| | |
| | | } |
| | | 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; |
| | |
| | | name: prod |
| | | # JDBC 基本配置 ¤tSchema=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 |
| | |
| | | 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 |