| 
					
				 | 
			
			
				@@ -1,9 +1,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.onemap.apply.service.impl.tdgy; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.onemap.apply.mapper.tdgy.TdgyMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.onemap.apply.service.tdgy.TdtjService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.onemap.common.core.web.domain.RequestResult; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import javax.annotation.Resource; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.HashMap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -12,23 +14,35 @@ import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @Service 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class TdtjServiceImp implements TdtjService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Resource 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    private TdgyMapper tdgyMapper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public RequestResult getOverview() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取疑似土地总数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Map<String, Object> suspectedRes = tdgyMapper.getCountAreaSuspected(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String, Object> map = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String, Object> mapSuspected = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mapSuspected.put("area", 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mapSuspected.put("count", 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mapSuspected.put("area", suspectedRes.get("area")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mapSuspected.put("count", suspectedRes.get("total")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("suspected", mapSuspected); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取确认土地总数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Map<String, Object> confirmRes = tdgyMapper.getCountAreaConfirm(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String, Object> mapConfirm = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mapConfirm.put("area", 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mapConfirm.put("count", 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mapConfirm.put("area", confirmRes.get("area")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mapConfirm.put("count", confirmRes.get("total")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("confirm", mapConfirm); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取处置土地总数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Map<String, Object> disposalRes = tdgyMapper.getCountAreaDisposal(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Map<String, Object> mapDisposal = new HashMap<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mapDisposal.put("area", 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mapDisposal.put("count", 100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mapDisposal.put("area", disposalRes.get("area")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        mapDisposal.put("count", disposalRes.get("total")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         map.put("disposal", mapDisposal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return RequestResult.success(map); 
			 |