| 
					
				 | 
			
			
				@@ -4,7 +4,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="getIdleLandList" resultType="Map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        SELECT td.id, td.srf, td.crmj, td.cqzh, public.st_asewkt(public.st_union(tb.geom)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SELECT td.id,td.xmmc, td.srf, td.crmj, td.cqzh, public.st_asewkt(public.st_union(tb.geom)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         FROM base.t_land_idle_confirm AS confirm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         JOIN vector.tdgy_sj AS td ON confirm.land_id = td.id::VARCHAR 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         JOIN vector."TB_TDGY_SJ" AS tb ON tb.pid = td.id 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,19 +51,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="getByLandId" resultType="com.onemap.apply.domain.tdgy.dto.LandIdleConfirmDTO"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        SELECT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            land_id AS landId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            is_idle AS isIdle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            is_disposal AS isDisposal, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            idle_reason AS idleReason, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            idle_time AS idleTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            confirm_time AS confirmTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            confirm_basis AS confirmBasis, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            files::VARCHAR as filesStr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        FROM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            t_land_idle_confirm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        WHERE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            land_id = #{landId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SELECT id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               land_id       AS landId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               is_idle       AS isIdle, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               is_disposal   AS isDisposal, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               idle_reason   AS idleReason, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               idle_time     AS idleTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               confirm_time  AS confirmTime, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               confirm_basis AS confirmBasis, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               files::VARCHAR as filesStr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        FROM t_land_idle_confirm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        WHERE land_id = #{landId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |