This commit is contained in:
he
2022-09-16 13:32:13 +08:00
parent a503868a25
commit d8b646410b
3 changed files with 23 additions and 2 deletions
@@ -373,6 +373,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否完成配置
/// </summary>
public bool IsCompleteConfig { get; set; } = false;
/// <summary>
/// 标准英文
/// </summary>
public string CriterionEName { get; set; }
}
/// <summary>
@@ -1115,6 +1120,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 标准
/// </summary>
public string CriterionName { get; set; }
/// <summary>
/// 标准英文
/// </summary>
public string CriterionEName { get; set; }
}
public class ReadingQuestionCriterionSystemView
@@ -1148,6 +1158,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public int QuestionCount { get; set; }
/// <summary>
/// 标准英文
/// </summary>
public string CriterionEName { get; set; }
public bool IsBeUsed { get; set; } = false;
}
@@ -664,7 +664,7 @@ namespace IRaCIS.Application.Services
//[HttpPost]
//public async Task<IResponseOutput> AddOrUpdateReadingQuestionCriterionSystem(AddOrUpdateReadingQuestionCriterionSystemInDto indto)
//{
// var entity = await _readingQuestionCriterionSystemRepository.InsertOrUpdateAsync(indto,true);
// var entity = await _readingQuestionCriterionSystemRepository.InsertOrUpdateAsync(indto, true);
// return ResponseOutput.Ok(entity.Id.ToString());
//}
@@ -697,7 +697,8 @@ namespace IRaCIS.Application.Services
.Select(x => new GetSystemCriterionSelectDto()
{
Id = x.Id,
CriterionName = x.CriterionName
CriterionName = x.CriterionName,
CriterionEName=x.CriterionEName,
}).ToListAsync();
return criterionList;
}