修改确认
parent
0d0e795faf
commit
0c228fab1f
|
@ -52,13 +52,11 @@ namespace IRaCIS.Application.Contracts
|
||||||
public Guid? PhaseId { get; set; }
|
public Guid? PhaseId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string DeclarationTypeOther { get; set; }
|
|
||||||
public List<DeclarationType> DeclarationTypeEnumList { get; set; }
|
public List<DeclarationType> DeclarationTypeEnumList { get; set; }
|
||||||
|
|
||||||
public List<AttendedReviewerType> AttendedReviewerTypeEnumList { get; set; }
|
public List<AttendedReviewerType> AttendedReviewerTypeEnumList { get; set; }
|
||||||
public string DeclarationTypes { get; set; }
|
public string DeclarationTypes { get; set; }=string.Empty;
|
||||||
public string AttendedReviewerTypes { get; set; }
|
public string AttendedReviewerTypes { get; set; } = string.Empty;
|
||||||
public string AttendedReviewerTypeOther { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 标识
|
/// 标识
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Identification { get; set; }
|
public string Identification { get; set; } = string.Empty;
|
||||||
|
|
||||||
public Guid? ParentId { get; set; }
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,9 @@
|
||||||
|
|
||||||
--新增字段
|
--新增字段
|
||||||
ALTER TABLE [dbo].[Trial] ADD [AttendedReviewerTypeOther] varchar(255) COLLATE Chinese_PRC_CI_AS DEFAULT '' NOT NULL
|
|
||||||
GO
|
|
||||||
|
|
||||||
ALTER TABLE [dbo].[Trial] ADD [AttendedReviewerTypes] varchar(255) COLLATE Chinese_PRC_CI_AS DEFAULT '' NOT NULL
|
ALTER TABLE [dbo].[Trial] ADD [AttendedReviewerTypes] varchar(255) COLLATE Chinese_PRC_CI_AS DEFAULT '' NOT NULL
|
||||||
GO
|
GO
|
||||||
|
|
||||||
ALTER TABLE [dbo].[Trial] ADD [DeclarationTypeOther] varchar(255) COLLATE Chinese_PRC_CI_AS DEFAULT '' NOT NULL
|
|
||||||
GO
|
|
||||||
|
|
||||||
ALTER TABLE [dbo].[Trial] ADD [DeclarationTypes] varchar(255) COLLATE Chinese_PRC_CI_AS DEFAULT '' NOT NULL
|
ALTER TABLE [dbo].[Trial] ADD [DeclarationTypes] varchar(255) COLLATE Chinese_PRC_CI_AS DEFAULT '' NOT NULL
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
@ -19,7 +14,6 @@ UPDATE Trial SET AttendedReviewerTypes = '|' + CAST(AttendedReviewerType AS VARC
|
||||||
update Trial set DeclarationTypes ='|' + (select Code from Dictionary where Id= Trial.DeclarationTypeId) + '|'
|
update Trial set DeclarationTypes ='|' + (select Code from Dictionary where Id= Trial.DeclarationTypeId) + '|'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--验证sql
|
--验证sql
|
||||||
select DISTINCT AttendedReviewerType ,AttendedReviewerTypes, DeclarationTypeId, Dictionary.Code,DeclarationTypes,Dictionary.[Value] from Trial inner join Dictionary on Trial.DeclarationTypeId=Dictionary.Id
|
select DISTINCT AttendedReviewerType ,AttendedReviewerTypes, DeclarationTypeId, Dictionary.Code,DeclarationTypes,Dictionary.[Value] from Trial inner join Dictionary on Trial.DeclarationTypeId=Dictionary.Id
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
//public Guid DeclarationTypeId { get; set; } = Guid.Empty;
|
//public Guid DeclarationTypeId { get; set; } = Guid.Empty;
|
||||||
|
|
||||||
|
|
||||||
public string DeclarationTypeOther { get; set; }
|
|
||||||
public string DeclarationTypes { get; set; }
|
public string DeclarationTypes { get; set; }
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
|
@ -164,7 +164,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
.Select(s => Enum.Parse(typeof(AttendedReviewerType), s)).Cast<AttendedReviewerType>().ToList();
|
.Select(s => Enum.Parse(typeof(AttendedReviewerType), s)).Cast<AttendedReviewerType>().ToList();
|
||||||
|
|
||||||
public string AttendedReviewerTypes { get; set; }
|
public string AttendedReviewerTypes { get; set; }
|
||||||
public string AttendedReviewerTypeOther { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue