소스 검색

添加当前时相

gushoubang 2 달 전
부모
커밋
7db1ec9d39

+ 9 - 0
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/domain/gdbh/TGdbhJctb.java

@@ -83,6 +83,7 @@ public class TGdbhJctb extends BaseEntity {
     private Date endTime;
     private String qsxtif;
     private String hsxtif;
+    private String xsxtif;
 
     public String getId() {
         return id;
@@ -507,4 +508,12 @@ public class TGdbhJctb extends BaseEntity {
     public void setHsxtif(String hsxtif) {
         this.hsxtif = hsxtif;
     }
+
+    public String getXsxtif() {
+        return xsxtif;
+    }
+
+    public void setXsxtif(String xsxtif) {
+        this.xsxtif = xsxtif;
+    }
 }

+ 1 - 1
onemap-modules/onemap-apply/src/main/resources/drone-forensics/123456_tuban

@@ -1 +1 @@
-SRID=4326;POLYGON ((109.53848982267475 18.318106510729, 109.53848982267475 18.321531825682197, 109.54140530070188 18.321531825682197, 109.54140530070188 18.318106510729, 109.53848982267475 18.318106510729))
+SRID=4326;MULTIPOLYGON (((109.53848982267475 18.318106510729, 109.53848982267475 18.321531825682197, 109.54140530070188 18.321531825682197, 109.54140530070188 18.318106510729, 109.53848982267475 18.318106510729)))

+ 21 - 19
onemap-modules/onemap-apply/src/main/resources/drone-forensics/123456_tuban.geojson

@@ -14,28 +14,30 @@
                 "id": 123456
             },
             "geometry": {
-                "type": "Polygon",
+                "type": "MultiPolygon",
                 "coordinates": [
                     [
                         [
-                            109.538489822674748,
-                            18.318106510728999
-                        ],
-                        [
-                            109.538489822674748,
-                            18.321531825682197
-                        ],
-                        [
-                            109.541405300701882,
-                            18.321531825682197
-                        ],
-                        [
-                            109.541405300701882,
-                            18.318106510728999
-                        ],
-                        [
-                            109.538489822674748,
-                            18.318106510728999
+                            [
+                                109.538489822674748,
+                                18.318106510728999
+                            ],
+                            [
+                                109.538489822674748,
+                                18.321531825682197
+                            ],
+                            [
+                                109.541405300701882,
+                                18.321531825682197
+                            ],
+                            [
+                                109.541405300701882,
+                                18.318106510728999
+                            ],
+                            [
+                                109.538489822674748,
+                                18.318106510728999
+                            ]
                         ]
                     ]
                 ]

+ 2 - 1
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/gdbh/TGdbhJctbMapper.xml

@@ -58,13 +58,14 @@
         <result property="endTime" column="endTime"/>
         <result property="qsxtif" column="qsxtif"/>
         <result property="hsxtif" column="hsxtif"/>
+        <result property="xsxtif" column="xsxtif"/>
     </resultMap>
 
     <sql id="selectTGdbhJctbVo">
         select id,
                pcsj,
                public.st_asewkt(geom) geom, year, issuedate, batchinfo, regioncode, shengmc, shimc, xmc, jcbh, tblx, qlx, hlx, hlb, qsx, hsx, dqjh, lzb, bzb, cxbh, bz, jcmj, gdmj, nydmj, dlrdjsydmj, yjjbntmj, tbxzqdmmax, tbxzqmcmax, tbxzjxzqdm, tbxzjxzqmc, tbcjxzqdm, tbcjxzqmc, nzy2018, sklx, tskqmj, yjkcmj, ysxgdmj, ysxnydmj, ysxjsydmj, ysxwlydmj, ysxjbntmj, wsxgdmj, wsxstmj, wsxnydmj,
-            wsxjsydmj, wsxwlydmj, wsxjbntmj, sfsk, qsxtif , hsxtif
+            wsxjsydmj, wsxwlydmj, wsxjbntmj, sfsk, qsxtif , hsxtif, xsxtif
         from t_gdbh_jctb
     </sql>