Compare commits

..

No commits in common. "742b36ed4a19d96bd0972259ce7d3a4a57cffd18" and "d262057a738f7b3ce929fbfa7491b8918c2d9412" have entirely different histories.

6 changed files with 3 additions and 22129 deletions

View File

@ -17137,17 +17137,17 @@
</member>
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
<summary>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
质疑
</summary>
</member>
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
<summary>
һ<EFBFBD><EFBFBD><EFBFBD>Ժ˲<EFBFBD>
一致性核查
</summary>
</member>
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
<summary>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
复制
</summary>
</member>
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">

View File

@ -185,12 +185,6 @@ public class ReadingQuestionCriterionTrial : BaseAddAuditEntity
/// 分割工具
/// </summary>
public List<string> SegmentToolList { get; set; } = new List<string>();
/// <summary>
/// 默认SegmentName
/// </summary>
[MaxLength]
public DefaultSegmentNameDto DefaultSegmentName { get; set; }
}
@ -237,12 +231,3 @@ public enum ReadingOrder
SubjectRandom = 2,
}
[ComplexType]
public class DefaultSegmentNameDto
{
public string SegmentationName { get; set; } =string.Empty;
public List<string> SegmentNameList { get; set; }= new List<string>();
}

View File

@ -101,15 +101,6 @@ public class IRaCISDBContext : DbContext
});
});
modelBuilder.Entity<ReadingQuestionCriterionTrial>(entity =>
{
//默认SegmentName
entity.OwnsOne(x => x.DefaultSegmentName, ownedNavigationBuilder =>
{
ownedNavigationBuilder.ToJson();
});
});
#region pgsql codefirst 配置 暂时屏蔽
//if (base.Database.IsNpgsql())
//{

View File

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

View File

@ -18545,35 +18545,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.OwnsOne("IRaCIS.Core.Domain.Models.DefaultSegmentNameDto", "DefaultSegmentName", b1 =>
{
b1.Property<Guid>("ReadingQuestionCriterionTrialId")
.HasColumnType("uniqueidentifier");
b1.Property<string>("SegmentNameList")
.IsRequired()
.HasColumnType("nvarchar(max)");
b1.Property<string>("SegmentationName")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)");
b1.HasKey("ReadingQuestionCriterionTrialId");
b1.ToTable("ReadingQuestionCriterionTrial");
b1.ToJson("DefaultSegmentName");
b1.WithOwner()
.HasForeignKey("ReadingQuestionCriterionTrialId");
});
b.Navigation("CreateUserRole");
b.Navigation("DefaultSegmentName")
.IsRequired();
b.Navigation("Trial");
});