dev #9

Merged
hy merged 11 commits from dev into master 2025-08-26 20:11:08 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 204c8acf02 - Show all commits

View File

@ -161,7 +161,7 @@ namespace Learn.Archives.API.Controllers
var importRes = await _userCenterService.CallAPI_ImportJsonData(_httpContextAccessor.HttpContext, userCenterImp);
//处理数据
var errorExcelInfo = importRes.ErrorExcelExport.Select(s => s.Adapt<StudentInfoImportError>());
var errorExcelInfo = importRes.ErrorExcelExport.Select(s => s.Adapt<TeacherInfoImportError>());
//如果有错误数据则返回excel
if (errorExcelInfo.Count() != 0)
return File(errorExcelInfo.ExportExcel(), "application/ms-excel", $"导入错误的老师{DateTime.Now.ToString("MMddHHmm")}.xlsx");