|  | @ -88,8 +88,9 @@ public class MemoConcernController { | 
			
		
	
		
		
			
				
					|  |  |     @PostMapping("/{id}/exportWord") |  |  |     @PostMapping("/{id}/exportWord") | 
			
		
	
		
		
			
				
					|  |  |     public void exportWord(@PathVariable("id") String id, HttpServletResponse response) throws Exception { |  |  |     public void exportWord(@PathVariable("id") String id, HttpServletResponse response) throws Exception { | 
			
		
	
		
		
			
				
					|  |  |         URL resource = this.getClass().getClassLoader().getResource("templates/memo_concern_export_template.docx"); |  |  |         URL resource = this.getClass().getClassLoader().getResource("templates/memo_concern_export_template.docx"); | 
			
		
	
		
		
			
				
					
					|  |  | 
 |  |  |         MemoConcernFormDTO formDTO = new MemoConcernFormDTO(); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |         MemoConcernDTO data = memoConcernService.get(id); |  |  |         formDTO.setId(id); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |         MemoConcernDTO data = memoConcernService.get(formDTO); | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |         if (data == null) { |  |  |         if (data == null) { | 
			
		
	
		
		
			
				
					|  |  |             throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "未找到id为" + id + "的关怀项目", "未找到该关怀项目"); |  |  |             throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "未找到id为" + id + "的关怀项目", "未找到该关怀项目"); | 
			
		
	
	
		
		
			
				
					|  | 
 |