Uat_Study
parent
8a2545a5c4
commit
1a8e27a29a
|
@ -1142,14 +1142,14 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
var trialReadingCriterionId = inDto.TrialReadingCriterionId;
|
||||
|
||||
if (trialReadingCriterionId == null && inDto.VisistTaskId == null)
|
||||
if (trialReadingCriterionId == null && inDto.VisitTaskId == null)
|
||||
{
|
||||
throw new BusinessValidationFailedException("当没有任务Id的时候,标准Id必传");
|
||||
}
|
||||
|
||||
if (inDto.VisitTaskId != null)
|
||||
{
|
||||
task = await _visitTaskRepository.Where(x => x.Id == inDto.VisistTaskId).Select(x => new GetReadingTaskDto()
|
||||
task = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Select(x => new GetReadingTaskDto()
|
||||
{
|
||||
VisitTaskId = x.Id,
|
||||
TaskBlindName = x.TaskBlindName,
|
||||
|
|
Loading…
Reference in New Issue