diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/DicomSeriesModel.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/DicomSeriesModel.cs
index 5922ef9b4..5ec4c58db 100644
--- a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/DicomSeriesModel.cs
+++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/DicomSeriesModel.cs
@@ -117,4 +117,10 @@ namespace IRaCIS.Core.Application.Contracts.Dicom.DTO
public bool HasLabel { get; set; } = false;
public bool KeySeries { get; set; } = false;
}
+ public class UpdateImageResizeDTO
+ {
+ public Guid SeriesId { get; set; }
+
+ public string ImageResizePath { get; set; }
+ }
}
diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/SeriesService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/SeriesService.cs
index 27285b3b7..59ecf2f34 100644
--- a/IRaCIS.Core.Application/Service/ImageAndDoc/SeriesService.cs
+++ b/IRaCIS.Core.Application/Service/ImageAndDoc/SeriesService.cs
@@ -17,7 +17,18 @@ namespace IRaCIS.Core.Application.Services
{
+ ///
+ /// 更新缩略图路径
+ ///
+ ///
+ ///
+ [HttpPost]
+ public async Task UpdateImageResizePath(UpdateImageResizeDTO dto)
+ {
+ await _seriesRepository.UpdatePartialFromQueryAsync(t => t.Id == dto.SeriesId, u => new DicomSeries() { ImageResizePath = dto.ImageResizePath }, true);
+ return ResponseOutput.Ok();
+ }
//医生读片那一块有耦合,关键序列 这里暂时留存
/// 指定资源Id,获取Dicom检查所属序列信息列表