修改一版

Uat_Study
he 2022-12-09 15:07:18 +08:00
parent 36c06375b2
commit 14b429a2a8
2 changed files with 24 additions and 3 deletions

View File

@ -1069,6 +1069,21 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary>
public CustomCalculateMark? CustomCalculateMark { get; set; }
/// <summary>
/// 数值类型
/// </summary>
public ValueOfType? ValueType { get; set; }
/// <summary>
/// 单位
/// </summary>
public ValueUnit? Unit { get; set; }
/// <summary>
/// 自定义单位
/// </summary>
public string CustomUnit { get; set; } = string.Empty;
public List<CalculateInfo> CalculateQuestionList { get; set; }
}

View File

@ -497,8 +497,11 @@ namespace IRaCIS.Application.Services
.Select(x => new CalculateRelationDto()
{
QuestionId = x.Id,
CustomCalculateMark=x.CustomCalculateMark,
CalculateQuestionList = x.CalculateQuestionList
CustomCalculateMark = x.CustomCalculateMark,
CalculateQuestionList = x.CalculateQuestionList,
ValueType = x.ValueType,
Unit = x.Unit,
CustomUnit = x.CustomUnit,
}).ToListAsync();
}
@ -509,7 +512,10 @@ namespace IRaCIS.Application.Services
{
QuestionId = x.Id,
CustomCalculateMark = x.CustomCalculateMark,
CalculateQuestionList = x.CalculateQuestionList
CalculateQuestionList = x.CalculateQuestionList,
ValueType = x.ValueType,
Unit = x.Unit,
CustomUnit = x.CustomUnit,
}).ToListAsync();
}