管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-04-07 29741ebef89ae3785ed463269a74bebef40b84fb
1
已修改2个文件
6 ■■■■ 文件已修改
data/db_cx.sql 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/extend/UpdateBatchMethod.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/db_cx.sql
@@ -53,7 +53,6 @@
---------------------------------------------------------------------------------------------- SY1.煤层54表
-- drop table public.coal54;
create table if not exists public.coal54 (
@@ -83,7 +82,8 @@
comment on column public.coal54.volume is '体积';
comment on column public.coal54.geom is '空间';
select * from public.coal54 order by gid desc limit 100;
select count(*) from public.coal54; -- 12701714
select a.*, ST_AsText(geom) from public.coal54 a order by gid desc limit 100;
---------------------------------------------------------------------------------------------- SY2.煤层2000表
-- drop table public.coal2000;
create table if not exists public.coal2000 (
src/main/java/com/lf/server/extend/UpdateBatchMethod.java
@@ -72,7 +72,7 @@
                continue;
            }
            if ("geom".equals(f.getColumn())) {
            if ("geom".equals(f.getProperty())) {
                sb.append("<if test=\"item['geom'] != null\">geom=${item.geom},</if>\n");
                continue;
            }