标记代码修改
This commit is contained in:
@@ -2490,6 +2490,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
public Guid VisitTaskId { get; set; }
|
||||
public Guid? StudyId { get; set; }
|
||||
|
||||
public string MarkTool { get; set; }
|
||||
|
||||
public string OrderMarkName { get; set; }
|
||||
|
||||
public Guid? MarkId { get; set; }
|
||||
public Guid? NoneDicomFileId { get; set; }
|
||||
|
||||
|
||||
+5
-1
@@ -67,11 +67,13 @@ namespace IRaCIS.Core.Application.Service
|
||||
var mark = await _readingNoneDicomMarkRepository.Where(x => x.MarkId == inDto.MarkId).FirstOrDefaultAsync();
|
||||
if (mark != null)
|
||||
{
|
||||
if (mark.MeasureData != inDto.MeasureData || mark.Path != inDto.Path)
|
||||
if (mark.MeasureData != inDto.MeasureData || mark.Path != inDto.Path|| mark.OrderMarkName != inDto.OrderMarkName || mark.MarkTool != inDto.MarkTool)
|
||||
{
|
||||
await _readingNoneDicomMarkRepository.UpdatePartialFromQueryAsync(x => x.Id == mark.Id, u => new Domain.Models.ReadingNoneDicomMark()
|
||||
{
|
||||
MeasureData = inDto.MeasureData,
|
||||
MarkTool=inDto.MarkTool,
|
||||
OrderMarkName=inDto.OrderMarkName,
|
||||
Path = inDto.Path
|
||||
});
|
||||
}
|
||||
@@ -84,6 +86,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
Id = NewId.NextGuid(),
|
||||
VisitTaskId = inDto.VisitTaskId,
|
||||
StudyId = inDto.StudyId,
|
||||
MarkTool = inDto.MarkTool,
|
||||
OrderMarkName = inDto.OrderMarkName,
|
||||
NoneDicomFileId = inDto.NoneDicomFileId,
|
||||
Path = inDto.Path,
|
||||
MeasureData = inDto.MeasureData,
|
||||
|
||||
Reference in New Issue
Block a user