Uat_Study
parent
fbc639030a
commit
ea48fcac64
|
@ -261,7 +261,7 @@ namespace IRaCIS.Application.Services
|
||||||
//不存在的时候,就将系统数据同步到项目临床数据配置
|
//不存在的时候,就将系统数据同步到项目临床数据配置
|
||||||
if (!await _clinicalDataTrialSetRepository.AnyAsync(x => x.TrialId == trialId && x.SystemClinicalDataSetId != null))
|
if (!await _clinicalDataTrialSetRepository.AnyAsync(x => x.TrialId == trialId && x.SystemClinicalDataSetId != null))
|
||||||
{
|
{
|
||||||
var systemClinicalDataList = await _clinicalDataSystemSetRepository.Where(x=>x.IsFinish).AsQueryable().ToListAsync();
|
var systemClinicalDataList = await _clinicalDataSystemSetRepository.Where(x=>x.IsApply).AsQueryable().ToListAsync();
|
||||||
var systemIds = systemClinicalDataList.Select(x => x.Id).ToList();
|
var systemIds = systemClinicalDataList.Select(x => x.Id).ToList();
|
||||||
|
|
||||||
var trialSystemClinicalDataSetIds = await _clinicalDataTrialSetRepository.Where(x => x.TrialId == trialId && x.SystemClinicalDataSetId != null).Select(x => x.SystemClinicalDataSetId.Value).ToListAsync();
|
var trialSystemClinicalDataSetIds = await _clinicalDataTrialSetRepository.Where(x => x.TrialId == trialId && x.SystemClinicalDataSetId != null).Select(x => x.SystemClinicalDataSetId.Value).ToListAsync();
|
||||||
|
@ -286,6 +286,7 @@ namespace IRaCIS.Application.Services
|
||||||
FileName = x.FileName,
|
FileName = x.FileName,
|
||||||
Path = x.Path,
|
Path = x.Path,
|
||||||
TrialId = trialId,
|
TrialId = trialId,
|
||||||
|
IsApply = x.IsApply,
|
||||||
|
|
||||||
//项目不采用 标准枚举字符串的方式
|
//项目不采用 标准枚举字符串的方式
|
||||||
//CriterionEnumListStr=x.CriterionEnumListStr
|
//CriterionEnumListStr=x.CriterionEnumListStr
|
||||||
|
|
|
@ -27,9 +27,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public string ClinicalDataSetName { get; set; }
|
public string ClinicalDataSetName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否配置完成
|
/// 是否应用
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsFinish { get; set; } = false;
|
public bool IsApply { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 英文名称
|
/// 英文名称
|
||||||
|
|
|
@ -65,9 +65,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否配置完成
|
/// 是否应用
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsFinish { get; set; } = false;
|
public bool IsApply { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 上传角色
|
/// 上传角色
|
||||||
|
|
Loading…
Reference in New Issue