| 
						
						
						
					 | 
					@ -1,5 +1,6 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					package com.epmet.controller; | 
					 | 
					 | 
					package com.epmet.controller; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import com.epmet.commons.tools.security.user.LoginUserUtil; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.utils.Result; | 
					 | 
					 | 
					import com.epmet.commons.tools.utils.Result; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.commons.tools.validator.ValidatorUtils; | 
					 | 
					 | 
					import com.epmet.commons.tools.validator.ValidatorUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import com.epmet.dto.form.ResiEventNpcListFormDTO; | 
					 | 
					 | 
					import com.epmet.dto.form.ResiEventNpcListFormDTO; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -30,6 +31,9 @@ public class ResiEventController { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private ResiEventService resiEventService; | 
					 | 
					 | 
					    private ResiEventService resiEventService; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    private LoginUserUtil loginUserUtil; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @return | 
					 | 
					 | 
					     * @return | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Description 查询人大代表列表(客户下的) | 
					 | 
					 | 
					     * @Description 查询人大代表列表(客户下的) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -40,7 +44,7 @@ public class ResiEventController { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public Result<HashMap<String, List<ResiEventNpcResultDTO>>> listNpc(@RequestBody ResiEventNpcListFormDTO input) { | 
					 | 
					 | 
					    public Result<HashMap<String, List<ResiEventNpcResultDTO>>> listNpc(@RequestBody ResiEventNpcListFormDTO input) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        ValidatorUtils.validateEntity(input); | 
					 | 
					 | 
					        ValidatorUtils.validateEntity(input); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String customerId = input.getCustomerId(); | 
					 | 
					 | 
					        String customerId = input.getCustomerId(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        List<ResiEventNpcResultDTO> npcs = resiEventService.listNpcByGrid(customerId); | 
					 | 
					 | 
					        List<ResiEventNpcResultDTO> npcs = resiEventService.listNpcByGrid(customerId, loginUserUtil.getLoginUserId()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        HashMap<String, List<ResiEventNpcResultDTO>> wrapper = new HashMap<>(); | 
					 | 
					 | 
					        HashMap<String, List<ResiEventNpcResultDTO>> wrapper = new HashMap<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        wrapper.put("reportTargets", npcs); | 
					 | 
					 | 
					        wrapper.put("reportTargets", npcs); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |