|
|
@@ -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} || '%'
|