|  | @@ -32,6 +32,7 @@ import com.yonge.toolset.utils.easyexcel.ExcelException;
 | 
	
		
			
				|  |  |  import com.yonge.toolset.utils.easyexcel.ExcelUtils;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | +import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  |  import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.http.HttpStatus;
 | 
	
	
		
			
				|  | @@ -52,6 +53,7 @@ import java.util.List;
 | 
	
		
			
				|  |  |  import java.util.Map;
 | 
	
		
			
				|  |  |  import java.util.stream.Collectors;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +@Slf4j
 | 
	
		
			
				|  |  |  @RestController
 | 
	
		
			
				|  |  |  @RequestMapping("/student")
 | 
	
		
			
				|  |  |  @Api(value = "学生表", tags = "学生表")
 | 
	
	
		
			
				|  | @@ -189,8 +191,8 @@ public class StudentController extends BaseController {
 | 
	
		
			
				|  |  |              studentService.importStudentExcel(reader.getDataList(), user.getTenantId(), user.getId());
 | 
	
		
			
				|  |  |              return HttpResponseResult.succeed();
 | 
	
		
			
				|  |  |          } catch (ExcelException e) {
 | 
	
		
			
				|  |  | -            return HttpResponseResult.failed(BizHttpStatus.IMPORT.getCode(), e.getErrMsgList(),
 | 
	
		
			
				|  |  | -                    BizHttpStatus.IMPORT.getMsg());
 | 
	
		
			
				|  |  | +            log.error("导入学生失败:" + JSON.toJSONString(e.getErrMsgList()));
 | 
	
		
			
				|  |  | +            return HttpResponseResult.failed("文件解析失败");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |