From 513d773be3489db5b65e16cb5f3e22bc92064bf6 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 27 Sep 2024 17:12:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/ReadingImageTask/ReadingImageTaskService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 74ad89285..c40c166cb 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -2900,6 +2900,7 @@ namespace IRaCIS.Core.Application.Service if (maxReadingTime != null) { query = query.Where(x => x.FirstReadingTime == maxReadingTime); + skipcount = 0; } task = await query .Select(x => new GetReadingTaskDto() From b183622e134538d729a23e0b723b092c06d9a823 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 27 Sep 2024 17:14:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ReadingCalculate/General/GeneralCalculateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs index d39b56af1..9f0afc244 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs @@ -72,7 +72,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate try { - var ossRelativePath = await oSSService.UploadToOSSAsync(fileStream, pathCode, file.FileName); + var ossRelativePath = await oSSService.UploadToOSSAsync(fileStream, "InspectionUpload/"+ pathCode, file.FileName); await _inspectionFileRepository.AddAsync(new InspectionFile() { FileName = file.FileName, RelativePath = ossRelativePath, TrialId = trialId }); } catch (Exception)