Uat_Study
he 2022-12-22 17:57:19 +08:00 committed by {872297557@qq.com}
parent d59dbc8369
commit 887be552a5
2 changed files with 3 additions and 2 deletions

View File

@ -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 建立关系

View File

@ -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)