Compare commits
No commits in common. "742b36ed4a19d96bd0972259ce7d3a4a57cffd18" and "d262057a738f7b3ce929fbfa7491b8918c2d9412" have entirely different histories.
742b36ed4a
...
d262057a73
|
|
@ -17137,17 +17137,17 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Question">
|
||||||
<summary>
|
<summary>
|
||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
质疑
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
<member name="F:IRaCIS.Core.Application.ViewModel.AccessToDialogueEnum.Consistency">
|
||||||
<summary>
|
<summary>
|
||||||
һ<EFBFBD><EFBFBD><EFBFBD>Ժ˲<EFBFBD>
|
一致性核查
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
<member name="T:IRaCIS.Core.Application.ViewModel.CopyFrontAuditConfigItemDto">
|
||||||
<summary>
|
<summary>
|
||||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
复制
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
<member name="T:IRaCIS.Core.Application.ViewModel.SystemNoticeView">
|
||||||
|
|
|
||||||
|
|
@ -185,12 +185,6 @@ public class ReadingQuestionCriterionTrial : BaseAddAuditEntity
|
||||||
/// 分割工具
|
/// 分割工具
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<string> SegmentToolList { get; set; } = new List<string>();
|
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,
|
SubjectRandom = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[ComplexType]
|
|
||||||
public class DefaultSegmentNameDto
|
|
||||||
{
|
|
||||||
public string SegmentationName { get; set; } =string.Empty;
|
|
||||||
|
|
||||||
public List<string> SegmentNameList { get; set; }= new List<string>();
|
|
||||||
}
|
|
||||||
|
|
@ -101,15 +101,6 @@ public class IRaCISDBContext : DbContext
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity<ReadingQuestionCriterionTrial>(entity =>
|
|
||||||
{
|
|
||||||
//默认SegmentName
|
|
||||||
entity.OwnsOne(x => x.DefaultSegmentName, ownedNavigationBuilder =>
|
|
||||||
{
|
|
||||||
ownedNavigationBuilder.ToJson();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
#region pgsql codefirst 配置 暂时屏蔽
|
#region pgsql codefirst 配置 暂时屏蔽
|
||||||
//if (base.Database.IsNpgsql())
|
//if (base.Database.IsNpgsql())
|
||||||
//{
|
//{
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -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");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -18545,35 +18545,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
.IsRequired();
|
.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("CreateUserRole");
|
||||||
|
|
||||||
b.Navigation("DefaultSegmentName")
|
|
||||||
.IsRequired();
|
|
||||||
|
|
||||||
b.Navigation("Trial");
|
b.Navigation("Trial");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue