| 
					
					
					
				 | 
				@ -1,36 +0,0 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				//package com.example.demo.controller; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				// | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import com.example.demo.sevice.DataExportService; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import jakarta.servlet.http.HttpServletResponse; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import lombok.RequiredArgsConstructor; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import lombok.extern.slf4j.Slf4j; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import org.springframework.beans.factory.annotation.Autowired; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import org.springframework.transaction.annotation.Transactional; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import org.springframework.web.bind.annotation.CrossOrigin; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import org.springframework.web.bind.annotation.PostMapping; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import org.springframework.web.bind.annotation.RequestMapping; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import org.springframework.web.bind.annotation.RestController; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				// | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//import java.io.IOException; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				// | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//@RestController | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//@RequestMapping("/export") | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//@RequiredArgsConstructor | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//@Transactional | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//@Slf4j | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//@CrossOrigin | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//public class ExportExcelController { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				// | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//    @Autowired | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//    private DataExportService dataExportService; | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				// | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//    @PostMapping("/exportUserExcel") | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//    public void exportUserExcel(HttpServletResponse response) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//        try { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//            dataExportService.exportData(response); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//        } catch (IOException e) { | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//            e.printStackTrace(); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//            throw new RuntimeException("导出 Excel 文件失败", e); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//        } | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//    } | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				//} | 
				 | 
				 | 
				 |