修改
This commit is contained in:
@@ -1142,14 +1142,14 @@ namespace IRaCIS.Application.Services
|
|||||||
|
|
||||||
var trialReadingCriterionId = inDto.TrialReadingCriterionId;
|
var trialReadingCriterionId = inDto.TrialReadingCriterionId;
|
||||||
|
|
||||||
if (trialReadingCriterionId == null && inDto.VisistTaskId == null)
|
if (trialReadingCriterionId == null && inDto.VisitTaskId == null)
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException("当没有任务Id的时候,标准Id必传");
|
throw new BusinessValidationFailedException("当没有任务Id的时候,标准Id必传");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inDto.VisitTaskId != null)
|
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,
|
VisitTaskId = x.Id,
|
||||||
TaskBlindName = x.TaskBlindName,
|
TaskBlindName = x.TaskBlindName,
|
||||||
|
|||||||
Reference in New Issue
Block a user