修改一版

This commit is contained in:
he
2022-05-05 17:43:13 +08:00
parent 54e717d4af
commit 3ebeacf3c9
5 changed files with 42 additions and 19 deletions
@@ -156,6 +156,21 @@
子类
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionAddDTO.ObjectType">
<summary>
对象名称
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionAddDTO.OptType">
<summary>
操作类型
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionAddDTO.ModuleType">
<summary>
功能模块
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionAddDTO.CreateUserName">
<summary>
创建人名称
@@ -196,11 +211,6 @@
项目编码
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionAddDTO.ObjectType">
<summary>
对象名称
</summary>
</member>
<member name="P:IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionAddDTO.Identification">
<summary>
标识
@@ -24,19 +24,28 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
public Guid? SiteId { get; set; }
public Guid? SubjectId { get; set; }
public Guid? SubjectVisitId { get; set; }
public string ModuleType { get; set; } = string.Empty;
public string OptType { get; set; } = string.Empty;
/// <summary>
/// 子类
/// </summary>
public Guid? ChildrenType { get; set; }
/// <summary>
/// 对象名称
/// </summary>
public Guid? ObjectType { get; set; }
/// <summary>
/// 操作类型
/// </summary>
public Guid? OptType { get; set; }
/// <summary>
/// 功能模块
/// </summary>
public Guid? ModuleType { get; set; }
public string BlindName { get; set; } = string.Empty;
public string Reason { get; set; } = string.Empty;
/// <summary>
/// 子类
/// </summary>
public string ChildrenType { get; set; } = string.Empty;
public bool IsSign { get; set; }
public string JsonDetail { get; set; } = string.Empty;
@@ -84,11 +93,6 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
public List<EnumList> EnumList { get; set; } = new List<EnumList> { };
/// <summary>
/// 对象名称
/// </summary>
public string ObjectType { get; set; } = string.Empty;
/// <summary>
/// 标识
/// </summary>
@@ -46,13 +46,13 @@ namespace IRaCIS.Application.Services
};
bool isadd = false;
Subject? mapedSubject = null;
if (subjectCommand.Id == null) //insert
{
isadd = true;
mapedSubject= await _subjectRepository.InsertFromDTOAsync(subjectCommand, false, verifyExp1);
@@ -66,6 +66,7 @@ namespace IRaCIS.Application.Services
svlist.ForEach(t =>
{
t.Subject = mapedSubject;
t.SubjectId = mapedSubject.Id;
t.TrialId = subjectCommand.TrialId;
t.SiteId = subjectCommand.SiteId;