Procházet zdrojové kódy

修改列表用地单位

chenendian před 13 hodinami
rodič
revize
dad7ed1e21

+ 2 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/utils/ArcGisUtil.java

@@ -155,12 +155,13 @@ public class ArcGisUtil {
         //String where = "BDCDYH='360425005005GB60012W00000000'";
         //String where = "BDCDYH='360122014004GB00091F00040022'";
 
-        String where = "BDCDYH='360122011006GB00014W00000000'";
+        String where = "BDCDYH='360122011007GB00322W00000000'";
 
         JsonNode page = client.query(where, withGeometry, 0, PAGE_SIZE);
         JsonNode features = page.path("features");
         //int n = features.size();
         JsonNode f = features.get(0);
+        log.info("result OK: {} ", f);
         JsonNode attrs = f.path("attributes");
         String ewkt = null;
         if (withGeometry) {

+ 2 - 1
siwei-modules/siwei-apply/src/main/resources/mapper/YdbpDataMapper.xml

@@ -116,7 +116,8 @@
 
     <select id="getStatisticsList" resultMap="YdbpDataResultMap">
         SELECT
-            id, name,  yd_unit,
+            id, name,
+           '亩' as  yd_unit,
             '2' AS batch_type,
                 COALESCE (
                     CASE