diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs index 508764a..cc8d383 100644 --- a/VOL.Ai/Services/AiAppService.cs +++ b/VOL.Ai/Services/AiAppService.cs @@ -180,9 +180,7 @@ namespace VOL.Ai.Services var url = ALiYunOss.Upload(file, path, name); var updateModels = await _levelExamDataRepository.FindAsync(x => x.SchoolCode == paramDto.SchoolCode && - x.Code == paramDto.Code && - x.ClassRoomRecordId == paramDto.ClassRoomRecordId && - x.FileName == name); + x.FileName == name); updateModels.ForEach(x => { diff --git a/VOL.WebApi/Startup.cs b/VOL.WebApi/Startup.cs index ac947df..7410f52 100644 --- a/VOL.WebApi/Startup.cs +++ b/VOL.WebApi/Startup.cs @@ -285,7 +285,7 @@ namespace VOL.WebApi //app.UseQuartz(env); } //接口输入输出日志中间件 - app.UseMiddleware(); + //app.UseMiddleware(); app.UseMiddleware(); app.UseStaticFiles().UseStaticFiles(new StaticFileOptions {