添加字段
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
f6be3186e7
commit
3765b390a6
|
|
@ -1274,6 +1274,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? PicturePath { get; set; }
|
public string? PicturePath { get; set; }
|
||||||
|
|
||||||
|
public string? Path { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// NumberOfFrames
|
/// NumberOfFrames
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -2506,6 +2508,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|
||||||
|
public string PicturePath { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string MeasureData { get; set; } = string.Empty;
|
public string MeasureData { get; set; } = string.Empty;
|
||||||
|
|
||||||
public Guid QuestionId { get; set; }
|
public Guid QuestionId { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
OrderMarkName = inDto.OrderMarkName,
|
OrderMarkName = inDto.OrderMarkName,
|
||||||
NoneDicomFileId = inDto.NoneDicomFileId,
|
NoneDicomFileId = inDto.NoneDicomFileId,
|
||||||
Path = inDto.Path,
|
Path = inDto.Path,
|
||||||
|
PicturePath = inDto.PicturePath,
|
||||||
MeasureData = inDto.MeasureData,
|
MeasureData = inDto.MeasureData,
|
||||||
MarkId = inDto.MarkId
|
MarkId = inDto.MarkId
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -125,8 +125,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
.ForMember(d => d.FristAddTaskId, u => u.MapFrom(s => s.FristAddTaskId!.Value));
|
.ForMember(d => d.FristAddTaskId, u => u.MapFrom(s => s.FristAddTaskId!.Value));
|
||||||
CreateMap<ReadingTaskQuestionMark, QuestionMarkInfo>();
|
CreateMap<ReadingTaskQuestionMark, QuestionMarkInfo>();
|
||||||
|
|
||||||
CreateMap<ReadingNoneDicomMark, QuestionMarkInfo>()
|
CreateMap<ReadingNoneDicomMark, QuestionMarkInfo>();
|
||||||
.ForMember(d => d.PicturePath, u => u.MapFrom(s => s.Path));
|
|
||||||
|
|
||||||
CreateMap<ReadingNoneDicomMarkBinding, QuestionMarkInfo>();
|
CreateMap<ReadingNoneDicomMarkBinding, QuestionMarkInfo>();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,12 @@ public class ReadingNoneDicomMark : BaseAddAuditEntity
|
||||||
public Guid? StudyId { get; set; }
|
public Guid? StudyId { get; set; }
|
||||||
public Guid? NoneDicomFileId { get; set; }
|
public Guid? NoneDicomFileId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string PicturePath { get; set; } = string.Empty;
|
||||||
|
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string MeasureData { get; set; } = string.Empty;
|
public string MeasureData { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
|
||||||
20812
IRaCIS.Core.Infra.EFCore/Migrations/20251022093735_PicturePath.Designer.cs
generated
Normal file
20812
IRaCIS.Core.Infra.EFCore/Migrations/20251022093735_PicturePath.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,50 @@
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class PicturePath : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "Path",
|
||||||
|
table: "ReadingNoneDicomMark",
|
||||||
|
type: "nvarchar(1000)",
|
||||||
|
maxLength: 1000,
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "nvarchar(400)",
|
||||||
|
oldMaxLength: 400);
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "PicturePath",
|
||||||
|
table: "ReadingNoneDicomMark",
|
||||||
|
type: "nvarchar(1000)",
|
||||||
|
maxLength: 1000,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "PicturePath",
|
||||||
|
table: "ReadingNoneDicomMark");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "Path",
|
||||||
|
table: "ReadingNoneDicomMark",
|
||||||
|
type: "nvarchar(400)",
|
||||||
|
maxLength: 400,
|
||||||
|
nullable: false,
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "nvarchar(1000)",
|
||||||
|
oldMaxLength: 1000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -5735,8 +5735,13 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
|
|
||||||
b.Property<string>("Path")
|
b.Property<string>("Path")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(400)
|
.HasMaxLength(1000)
|
||||||
.HasColumnType("nvarchar(400)");
|
.HasColumnType("nvarchar(1000)");
|
||||||
|
|
||||||
|
b.Property<string>("PicturePath")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(1000)
|
||||||
|
.HasColumnType("nvarchar(1000)");
|
||||||
|
|
||||||
b.Property<Guid?>("StudyId")
|
b.Property<Guid?>("StudyId")
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue