Test.EIImageViewer
parent
bc05bc38f6
commit
6ec64c9744
|
@ -8717,6 +8717,15 @@
|
||||||
</summary>
|
</summary>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.VerifyCalculateRelation(System.Collections.Generic.List{IRaCIS.Core.Application.Service.Reading.Dto.CalculateRelationDto},System.Guid,System.Guid)">
|
||||||
|
<summary>
|
||||||
|
验证计算关系
|
||||||
|
</summary>
|
||||||
|
<param name="relationList"></param>
|
||||||
|
<param name="QuestionId"></param>
|
||||||
|
<param name="originalId"></param>
|
||||||
|
<exception cref="T:IRaCIS.Core.Infrastructure.BusinessValidationFailedException"></exception>
|
||||||
|
</member>
|
||||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.GetQuestionCalculateRelation(IRaCIS.Core.Application.Service.Reading.Dto.GetQuestionCalculateRelationInDto)">
|
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.GetQuestionCalculateRelation(IRaCIS.Core.Application.Service.Reading.Dto.GetQuestionCalculateRelationInDto)">
|
||||||
<summary>
|
<summary>
|
||||||
获取问题计算关系
|
获取问题计算关系
|
||||||
|
|
|
@ -402,7 +402,7 @@ namespace IRaCIS.Application.Services
|
||||||
TrialReadingCriterionId = indto.ReadingQuestionCriterionTrialId,
|
TrialReadingCriterionId = indto.ReadingQuestionCriterionTrialId,
|
||||||
});
|
});
|
||||||
|
|
||||||
var relation = relationList.Where(x => x.QuestionId == indto.Id).FirstOrDefault();
|
var relation = relationList.FirstOrDefault(x => x.QuestionId == indto.Id);
|
||||||
List<CalculateInfo> calculateInfoList = new List<CalculateInfo>();
|
List<CalculateInfo> calculateInfoList = new List<CalculateInfo>();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -414,7 +414,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
relation.CalculateQuestionList = calculateInfoList;
|
||||||
this.VerifyCalculateRelation(relationList, indto.Id.Value, indto.Id.Value);
|
this.VerifyCalculateRelation(relationList, indto.Id.Value, indto.Id.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -629,7 +629,7 @@ namespace IRaCIS.Application.Services
|
||||||
ReadingQuestionId = indto.ReadingQuestionId,
|
ReadingQuestionId = indto.ReadingQuestionId,
|
||||||
});
|
});
|
||||||
|
|
||||||
var relation = relationList.Where(x => x.QuestionId == indto.Id).FirstOrDefault();
|
var relation = relationList.FirstOrDefault(x => x.QuestionId == indto.Id);
|
||||||
List<CalculateInfo> calculateInfoList = new List<CalculateInfo>();
|
List<CalculateInfo> calculateInfoList = new List<CalculateInfo>();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -641,7 +641,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
relation.CalculateQuestionList = calculateInfoList;
|
||||||
this.VerifyCalculateRelation(relationList, indto.Id.Value, indto.Id.Value);
|
this.VerifyCalculateRelation(relationList, indto.Id.Value, indto.Id.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue