Uat_Study
parent
d59dbc8369
commit
887be552a5
|
@ -1676,7 +1676,8 @@ namespace IRaCIS.Application.Services
|
|||
/// 阅片期 -全局和肿瘤学任务的生成
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private async Task AddReadingTask(Guid visitTaskId)
|
||||
[HttpPost]
|
||||
public async Task AddReadingTask(Guid visitTaskId)
|
||||
{
|
||||
// ****** 先生成阅片期 阅片期任务阅片完成之后生成肿瘤学的 如果没有阅片期 直接生成肿瘤学 *********////
|
||||
#region 建立关系
|
||||
|
|
|
@ -74,7 +74,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
|
||||
#region MyRegion
|
||||
dto.SortField = dto.SortField.IsNullOrEmpty() ? nameof(ReadModuleView.TrialSiteCode) : dto.SortField;
|
||||
dto.SortField = dto.SortField.IsNullOrEmpty() ? nameof(ReadModuleView.SubjectCode) : dto.SortField;
|
||||
dto.SortField = dto.Asc ? dto.SortField : dto.SortField + " desc";
|
||||
var subjectQuery = _readModuleViewRepository.Where(x => x.TrialReadingCriterionId == dto.TrialReadingCriterionId)
|
||||
.WhereIf(dto.TrialId != null, x => x.TrialId == dto.TrialId)
|
||||
|
|
Loading…
Reference in New Issue