| 
					
				 | 
			
			
				@@ -71,9 +71,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <insert id="intersectionTableWkt"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CREATE TABLE "${newTableName}" AS 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        SELECT id, public.ST_Intersection(inTbale.geom, public.st_geomfromewkt(#{ewkt}),0.00001) AS geom 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SELECT id, public.ST_Intersection(inTbale.geom, public.st_geomfromewkt(#{ewkt})) AS geom 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         FROM "${tableName}" inTbale 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        AND NOT public.ST_IsEmpty(public.ST_Intersection(inTbale.geom, public.st_geomfromewkt(#{ewkt}),0.00001)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        AND NOT public.ST_IsEmpty(public.ST_Intersection(inTbale.geom, public.st_geomfromewkt(#{ewkt}))) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         WHERE public.ST_Intersects(inTbale.geom, public.st_geomfromewkt(#{ewkt})) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <if test="tableIds != null and tableIds.size() > 0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             AND inTbale.id::VARCHAR IN 
			 |