影像检查的部位 增加字段
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
hang 2025-09-15 13:24:13 +08:00
parent 774e7ccc25
commit 71f978609b
10 changed files with 20058 additions and 0 deletions

View File

@ -81,6 +81,8 @@ namespace IRaCIS.Core.Application.Contracts
public string VideoUrl { get; set; } = string.Empty;
public string BodyPartForEditOther { get; set; }
}

View File

@ -39,6 +39,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public string BodyPart { get; set; } = String.Empty;
public string BodyPartForEditOther { get; set; }
}
public class QCQuestionAnswerCommand
@ -427,6 +429,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public bool IsCompleteClinicalData { get; set; }
public string BodyPartForEditOther { get; set; }
}
public class QASeriesInfoDto

View File

@ -1066,6 +1066,7 @@ namespace IRaCIS.Core.Application.Image.QA
study.BodyPartForEdit = updateModalityCommand.BodyPart;
study.BodyPartForEditOther = updateModalityCommand.BodyPartForEditOther;
study.ModalityForEdit = updateModalityCommand.Modality;
study.StudyName = updateModalityCommand.StudyName;

View File

@ -272,6 +272,10 @@ namespace IRaCIS.Core.Application.Contracts
public string StudyName { get; set; } = string.Empty;
public string BodyPartForEdit { get; set; }
public string BodyPartForEditOther { get; set; }
public List<DicomSeriesDTO> SeriesList { get; set; } = new List<DicomSeriesDTO>();
}

View File

@ -515,6 +515,10 @@ namespace IRaCIS.Core.Application.Services
StudyCode = k.StudyCode,
StudyId = k.Id,
BodyPartForEdit=k.BodyPartForEdit,
BodyPartForEditOther=k.BodyPartForEditOther
}).ToListAsync();
var studyIds = dicomStudyList.Select(t => t.StudyId).ToList();
@ -718,6 +722,9 @@ namespace IRaCIS.Core.Application.Services
StudyCode = x.StudyCode,
IsDicom = false,
BodyPartForEdit=x.BodyPart,
BodyPartForEditOther=x.BodyPartForEditOther
}).ToList();
var isExistTaskNoneDicomFile = _noneDicomStudyFileRepository.Any(t => t.VisitTaskId == indto.VisitTaskId);

View File

@ -41,6 +41,8 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public string BodyPartForEdit { get; set; } = null!;
public string BodyPartForEditOther { get; set; }
public int Code { get; set; }
/// <summary>

View File

@ -53,5 +53,7 @@ public class NoneDicomStudy : BaseFullDeleteAuditEntity
#endregion
public string ModifyReason { get; set; }
public string BodyPartForEditOther { get; set; }
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,42 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class studyAddBodyPart : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "BodyPartForEditOther",
table: "NoneDicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn<string>(
name: "BodyPartForEditOther",
table: "DicomStudy",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "BodyPartForEditOther",
table: "NoneDicomStudy");
migrationBuilder.DropColumn(
name: "BodyPartForEditOther",
table: "DicomStudy");
}
}
}

View File

@ -1230,6 +1230,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("BodyPartForEditOther")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("Code")
.HasColumnType("int");
@ -3262,6 +3267,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<string>("BodyPartForEditOther")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b.Property<int>("Code")
.HasColumnType("int");