修改一版
parent
cabcf317f6
commit
297bbaadc6
|
@ -4209,7 +4209,7 @@
|
|||
<param name="VisitTaskId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.SaveJudgeTask">
|
||||
<member name="M:IRaCIS.Application.Services.ReadingImageTaskService.SaveJudgeTask(IRaCIS.Core.Application.Service.Reading.Dto.SaveJudgeTaskDto)">
|
||||
<summary>
|
||||
添加裁判任务
|
||||
</summary>
|
||||
|
|
|
@ -300,8 +300,9 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
ReadingTaskState = ReadingTaskState.HaveSigned
|
||||
});
|
||||
await this.TriggerJudgeQuestion(inDto.VisitTaskId);
|
||||
var result = await _visitTaskRepository.SaveChangesAsync();
|
||||
await this.TriggerJudgeQuestion(inDto.VisitTaskId);
|
||||
|
||||
return ResponseOutput.Ok(result);
|
||||
}
|
||||
|
||||
|
@ -350,10 +351,10 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
GroupId = NewId.NextGuid(),
|
||||
GroupValue = x
|
||||
});
|
||||
}).ToList();
|
||||
var itemAnswerGroupsitem1 = answerGroup.Where(x => x.GroupValue.Contains($"|{item1.Answer}|"));
|
||||
var itemAnswerGroupsitem2 = answerGroup.Where(x => x.GroupValue.Contains($"|{item2.Answer}|"));
|
||||
var unionList = itemAnswerGroupsitem1.Union(itemAnswerGroupsitem2).ToList();
|
||||
var unionList = itemAnswerGroupsitem1.Intersect(itemAnswerGroupsitem2).ToList();
|
||||
if (unionList.Count < 1)
|
||||
{
|
||||
verificationResults = false;
|
||||
|
|
|
@ -90,7 +90,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// <summary>
|
||||
/// 答案分组
|
||||
/// </summary>
|
||||
public string AnswerGroup { get; set; }
|
||||
public string AnswerGroup { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
|
|
Loading…
Reference in New Issue