修改一版
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user