chenendian 1 tháng trước cách đây
mục cha
commit
8f7f69d64c

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

@@ -38,15 +38,7 @@
         from  poi t  where t.name  = #{name}  limit 1 offset  0
     </select>
 
-    <select id="poiLikeName222"  resultType="com.onemap.apply.domain.yzt.PoiDTO">
-<!--        select t.name,t.adress,public.st_x ( t.geom ) x,public.st_y ( t.geom ) y-->
-<!--        from  poi t  where 1=1-->
-<!--         <if test="nameList != null and nameList.size()>0">-->
-<!--             and t.name in-->
-<!--             <foreach collection="nameList" item="name" open="(" separator="," close=")">-->
-<!--                 #{name}-->
-<!--             </foreach>-->
-<!--        </if>-->
+    <select id="poiLikeName-delete"  resultType="com.onemap.apply.domain.yzt.PoiDTO">
         select t.name,t.adress,public.st_x ( t.geom ) x,public.st_y ( t.geom ) y
         from  poi t where
         t.name like '%'|| #{name} || '%'

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

@@ -95,7 +95,7 @@
         t.pbsm as "pbsm",
         t.icon as "icon",
         t.url as "urlOld",
-        case when t.type='S3M' then REGEXP_REPLACE(url, '^(http://\d{1,3}(\.\d{1,3}){3}:\d{1,5})' , 'http://{s}')  else url end  as "url",
+        t.url as "url",
         t.lev as "lev",
         t.sort as "sort",
         t.state as "state",