Bläddra i källkod

当查询城市监测图层的时候,永远查询map 数据

ywf 1 månad sedan
förälder
incheckning
1698e3f196

+ 1 - 1
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/yzt/UrbanMonitorMapper.xml

@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         FROM "vector"."jc_urban_expansion"
         WHERE status = 1 
         <if test="dimType != null and dimType != ''">
-            AND dim_type = #{dimType}
+            AND (dim_type = #{dimType} OR dim_type = '0d')
         </if>
         ORDER BY sort_order ASC, year ASC
     </select>