Compare commits
No commits in common. "7b779d4ef55f4177ce1961bec597e0694dbcc4ef" and "71e6099bbd626189bb8f8c879c76922787668642" have entirely different histories.
7b779d4ef5
...
71e6099bbd
|
|
@ -17066,11 +17066,6 @@
|
|||
数据类型
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.TrialExperienceCommand.IndicationTypeId">
|
||||
<summary>
|
||||
适应症类型ID
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:IRaCIS.Application.Contracts.TrialExperienceCommand.TrialId">
|
||||
<summary>
|
||||
项目Id
|
||||
|
|
|
|||
|
|
@ -8,11 +8,6 @@
|
|||
/// </summary>
|
||||
public ExperienceDataType ExperienceDataType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 适应症类型ID
|
||||
/// </summary>
|
||||
public Guid IndicationTypeId { get; set; } = Guid.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -469,7 +469,6 @@ namespace IRaCIS.Core.Application.Service
|
|||
PhaseId = trial.PhaseId,
|
||||
StartTime = DateTime.Now,
|
||||
IndicationEnum = trial.IndicationEnum,
|
||||
IndicationTypeId= trial.IndicationTypeId,
|
||||
ExperienceDataType = dataType,
|
||||
TrialId = trial.Id,
|
||||
VisitReadingCount = 0,
|
||||
|
|
|
|||
|
|
@ -50,12 +50,7 @@ public partial class TrialExperience : BaseFullAuditEntity
|
|||
/// <summary>
|
||||
/// 数据类型
|
||||
/// </summary>
|
||||
public ExperienceDataType ExperienceDataType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ÊÊÓ¦Ö¢ÀàÐÍID
|
||||
/// </summary>
|
||||
public Guid IndicationTypeId { get; set; } = Guid.Empty;
|
||||
public ExperienceDataType ExperienceDataType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,50 +0,0 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class IndicationTypeId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "IndicationTypeId",
|
||||
table: "TrialExperience",
|
||||
type: "uniqueidentifier",
|
||||
nullable: false,
|
||||
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_TrialExperience_TrialId",
|
||||
table: "TrialExperience",
|
||||
column: "TrialId");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_TrialExperience_Trial_TrialId",
|
||||
table: "TrialExperience",
|
||||
column: "TrialId",
|
||||
principalTable: "Trial",
|
||||
principalColumn: "Id");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_TrialExperience_Trial_TrialId",
|
||||
table: "TrialExperience");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_TrialExperience_TrialId",
|
||||
table: "TrialExperience");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IndicationTypeId",
|
||||
table: "TrialExperience");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue