| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -17,6 +17,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					package com.elink.esua.epdc.modules.enterprise.controller; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.commons.mybatis.annotation.DataFilter; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.commons.tools.page.PageData; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.commons.tools.utils.ExcelUtils; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.commons.tools.utils.Result; | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -53,6 +54,7 @@ public class EnterpriseInfoController { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    private EnterpriseInfoService enterpriseInfoService; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @GetMapping("page") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @DataFilter(tableAlias = "t", prefix = "AND", isPendingCreator = false) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<PageData<EnterpriseInfoDTO>> page(@RequestParam Map<String, Object> params) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        PageData<EnterpriseInfoDTO> page = enterpriseInfoService.getEnterpriseInfoPageFromPc(params); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new Result<PageData<EnterpriseInfoDTO>>().ok(page); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -89,6 +91,7 @@ public class EnterpriseInfoController { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @GetMapping("export") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @DataFilter(tableAlias = "t", prefix = "AND", isPendingCreator = false) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        List<EnterpriseInfoDTO> list = enterpriseInfoService.listExport(params); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ExcelUtils.exportExcelToTarget(response, null, list, EnterpriseInfoExcel.class); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |