Compare commits
No commits in common. "6d100555d8bacca43ae8431549812f3d0ed1b2fc" and "d9326a1e8ed1f03121d022f6bc880f16ba773dc4" have entirely different histories.
6d100555d8
...
d9326a1e8e
|
@ -7149,11 +7149,6 @@
|
||||||
自定义计算问题
|
自定义计算问题
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.DefaultValue">
|
|
||||||
<summary>
|
|
||||||
默认值
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionQueryBase">
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionQueryBase">
|
||||||
<summary>
|
<summary>
|
||||||
查询临床数据基类
|
查询临床数据基类
|
||||||
|
@ -7289,11 +7284,6 @@
|
||||||
关联Value
|
关联Value
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.DefaultValue">
|
|
||||||
<summary>
|
|
||||||
默认值
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto">
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto">
|
||||||
<summary>
|
<summary>
|
||||||
项目临床数据问题
|
项目临床数据问题
|
||||||
|
|
|
@ -276,12 +276,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string CalculateQuestions { get; set; } = "[]";
|
public string CalculateQuestions { get; set; } = "[]";
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 默认值
|
|
||||||
/// </summary>
|
|
||||||
public string DefaultValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public List<CalculateInfo> CalculateQuestionList
|
public List<CalculateInfo> CalculateQuestionList
|
||||||
{
|
{
|
||||||
|
@ -480,10 +474,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 默认值
|
|
||||||
/// </summary>
|
|
||||||
public string DefaultValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public List<string> RelevanceValueList { get; set; } = new List<string>();
|
public List<string> RelevanceValueList { get; set; } = new List<string>();
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,4 @@ public class SystemClinicalQuestion : BaseAddAuditEntity
|
||||||
[Comment("自定义计算问题")]
|
[Comment("自定义计算问题")]
|
||||||
[MaxLength]
|
[MaxLength]
|
||||||
public string CalculateQuestions { get; set; } = "[]";
|
public string CalculateQuestions { get; set; } = "[]";
|
||||||
|
|
||||||
[Comment("默认值")]
|
|
||||||
public string DefaultValue { get; set; } = string.Empty;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,4 @@ public class SystemClinicalTableQuestion : BaseAddAuditEntity
|
||||||
|
|
||||||
[Comment("关联Value")]
|
[Comment("关联Value")]
|
||||||
public string RelevanceValue { get; set; } = string.Empty;
|
public string RelevanceValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Comment("默认值")]
|
|
||||||
public string DefaultValue { get; set; } = string.Empty;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,4 @@ public class TrialClinicalQuestion : BaseAddAuditEntity
|
||||||
|
|
||||||
[Comment("单位")]
|
[Comment("单位")]
|
||||||
public string Unit { get; set; } = string.Empty;
|
public string Unit { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Comment("默认值")]
|
|
||||||
public string DefaultValue { get; set; } = string.Empty;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,4 @@ public class TrialClinicalTableQuestion : BaseAddAuditEntity
|
||||||
|
|
||||||
[Comment("关联Value")]
|
[Comment("关联Value")]
|
||||||
public string RelevanceValue { get; set; } = string.Empty;
|
public string RelevanceValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Comment("默认值")]
|
|
||||||
public string DefaultValue { get; set; } = string.Empty;
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,114 +0,0 @@
|
||||||
using System;
|
|
||||||
using Microsoft.EntityFrameworkCore.Migrations;
|
|
||||||
|
|
||||||
#nullable disable
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
public partial class defaultvalue : Migration
|
|
||||||
{
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<string>(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "TrialClinicalTableQuestion",
|
|
||||||
type: "nvarchar(400)",
|
|
||||||
maxLength: 400,
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: "",
|
|
||||||
comment: "默认值");
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<string>(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "TrialClinicalQuestion",
|
|
||||||
type: "nvarchar(400)",
|
|
||||||
maxLength: 400,
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: "",
|
|
||||||
comment: "默认值");
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<string>(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "SystemClinicalTableQuestion",
|
|
||||||
type: "nvarchar(400)",
|
|
||||||
maxLength: 400,
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: "",
|
|
||||||
comment: "默认值");
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<string>(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "SystemClinicalQuestion",
|
|
||||||
type: "nvarchar(400)",
|
|
||||||
maxLength: 400,
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: "",
|
|
||||||
comment: "默认值");
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
|
||||||
{
|
|
||||||
migrationBuilder.DropForeignKey(
|
|
||||||
name: "FK_ReadingTaskQuestionMark_ReadingQuestionTrial_QuestionId",
|
|
||||||
table: "ReadingTaskQuestionMark");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "TrialClinicalTableQuestion");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "TrialClinicalQuestion");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "SystemClinicalTableQuestion");
|
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
|
||||||
name: "DefaultValue",
|
|
||||||
table: "SystemClinicalQuestion");
|
|
||||||
|
|
||||||
migrationBuilder.AlterColumn<Guid>(
|
|
||||||
name: "TrialReadingCriterionId",
|
|
||||||
table: "TrialEmailNoticeConfig",
|
|
||||||
type: "uniqueidentifier",
|
|
||||||
nullable: true,
|
|
||||||
oldClrType: typeof(Guid),
|
|
||||||
oldType: "uniqueidentifier",
|
|
||||||
oldNullable: true,
|
|
||||||
oldComment: "下次版本删除");
|
|
||||||
|
|
||||||
migrationBuilder.AlterColumn<Guid>(
|
|
||||||
name: "QuestionId",
|
|
||||||
table: "ReadingTaskQuestionMark",
|
|
||||||
type: "uniqueidentifier",
|
|
||||||
nullable: false,
|
|
||||||
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
|
|
||||||
oldClrType: typeof(Guid),
|
|
||||||
oldType: "uniqueidentifier",
|
|
||||||
oldNullable: true);
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
|
||||||
name: "CriterionTypeEnum",
|
|
||||||
table: "EmailNoticeConfig",
|
|
||||||
type: "int",
|
|
||||||
nullable: true,
|
|
||||||
comment: "标准枚举--后续废弃,这里可以选择多个标准");
|
|
||||||
|
|
||||||
migrationBuilder.AddForeignKey(
|
|
||||||
name: "FK_ReadingTaskQuestionMark_ReadingQuestionTrial_QuestionId",
|
|
||||||
table: "ReadingTaskQuestionMark",
|
|
||||||
column: "QuestionId",
|
|
||||||
principalTable: "ReadingQuestionTrial",
|
|
||||||
principalColumn: "Id",
|
|
||||||
onDelete: ReferentialAction.Cascade);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -9395,12 +9395,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasColumnType("int")
|
.HasColumnType("int")
|
||||||
.HasComment("自定义计算标记");
|
.HasComment("自定义计算标记");
|
||||||
|
|
||||||
b.Property<string>("DefaultValue")
|
|
||||||
.IsRequired()
|
|
||||||
.HasMaxLength(400)
|
|
||||||
.HasColumnType("nvarchar(400)")
|
|
||||||
.HasComment("默认值");
|
|
||||||
|
|
||||||
b.Property<string>("DictionaryCode")
|
b.Property<string>("DictionaryCode")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(400)
|
.HasMaxLength(400)
|
||||||
|
@ -9520,12 +9514,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Property<Guid>("CreateUserId")
|
b.Property<Guid>("CreateUserId")
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<string>("DefaultValue")
|
|
||||||
.IsRequired()
|
|
||||||
.HasMaxLength(400)
|
|
||||||
.HasColumnType("nvarchar(400)")
|
|
||||||
.HasComment("默认值");
|
|
||||||
|
|
||||||
b.Property<string>("DictionaryCode")
|
b.Property<string>("DictionaryCode")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(400)
|
.HasMaxLength(400)
|
||||||
|
@ -11293,12 +11281,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
.HasColumnType("int")
|
.HasColumnType("int")
|
||||||
.HasComment("自定义计算标记");
|
.HasComment("自定义计算标记");
|
||||||
|
|
||||||
b.Property<string>("DefaultValue")
|
|
||||||
.IsRequired()
|
|
||||||
.HasMaxLength(400)
|
|
||||||
.HasColumnType("nvarchar(400)")
|
|
||||||
.HasComment("默认值");
|
|
||||||
|
|
||||||
b.Property<string>("DictionaryCode")
|
b.Property<string>("DictionaryCode")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(400)
|
.HasMaxLength(400)
|
||||||
|
@ -11433,12 +11415,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||||
b.Property<Guid>("CreateUserId")
|
b.Property<Guid>("CreateUserId")
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<string>("DefaultValue")
|
|
||||||
.IsRequired()
|
|
||||||
.HasMaxLength(400)
|
|
||||||
.HasColumnType("nvarchar(400)")
|
|
||||||
.HasComment("默认值");
|
|
||||||
|
|
||||||
b.Property<string>("DictionaryCode")
|
b.Property<string>("DictionaryCode")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(400)
|
.HasMaxLength(400)
|
||||||
|
|
Loading…
Reference in New Issue