管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-30 670f36af44911c51eb2e57b230c67b585b696896
1
已修改4个文件
20 ■■■■■ 文件已修改
data/update.sql 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/controller/all/BaseQueryController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/service/show/DataLibService.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/update.sql
@@ -12,7 +12,8 @@
comment on column lf.sys_apply.gids is 'GID';
comment on column lf.sys_apply.filters is '过滤条件';
select * from lf.sys_apply;
select * from bd.dlg_agnp;
select * from lf.sys_apply order by id desc;
--------------------------------------------------------- 补充字段
-- alter table lf.sys_meta rename column bstab to tab; alter table lf.sys_meta drop column mdtab;
alter table lf.sys_fme_log add column create_time timestamp(6) without time zone default now();
src/main/java/com/lf/server/controller/all/BaseQueryController.java
@@ -634,7 +634,7 @@
            }
            UserEntity ue = tokenService.getCurrentUser(req);
            String guid = dataLibService.downloadDbReq(ue, dr);
            String guid = dataLibService.downloadDbReq4Wkt(ue, dr);
            return success(guid);
        } catch (Exception ex) {
src/main/java/com/lf/server/service/show/DataLibService.java
@@ -185,6 +185,9 @@
                } else {
                    dataMap.get(enity).addAll(list);
                }
                if ("bborehole".equals(enity)){
                    continue;
                }
                if (wrapper.isEmptyOfWhere()) {
                    wrapper.apply("1 = 1");
                }
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
@@ -147,8 +147,8 @@
  # IIS的主机地址
  iisHost: 127.0.0.1
  # FME服务地址
  fmeUrl: http://103.85.165.99:8051/
  #fmeUrl: http://192.168.20.205:88/
  #fmeUrl: http://103.85.165.99:8051/
  fmeUrl: http://192.168.20.205:88/
  # 出图服务
  exportServer: http://127.0.0.1/ExportMap
  #exportServer: http://103.85.165.99:8050/ExportMap