修改一版
parent
36c06375b2
commit
14b429a2a8
|
@ -1069,6 +1069,21 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public CustomCalculateMark? CustomCalculateMark { get; set; }
|
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; }
|
public List<CalculateInfo> CalculateQuestionList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -497,8 +497,11 @@ namespace IRaCIS.Application.Services
|
||||||
.Select(x => new CalculateRelationDto()
|
.Select(x => new CalculateRelationDto()
|
||||||
{
|
{
|
||||||
QuestionId = x.Id,
|
QuestionId = x.Id,
|
||||||
CustomCalculateMark=x.CustomCalculateMark,
|
CustomCalculateMark = x.CustomCalculateMark,
|
||||||
CalculateQuestionList = x.CalculateQuestionList
|
CalculateQuestionList = x.CalculateQuestionList,
|
||||||
|
ValueType = x.ValueType,
|
||||||
|
Unit = x.Unit,
|
||||||
|
CustomUnit = x.CustomUnit,
|
||||||
|
|
||||||
}).ToListAsync();
|
}).ToListAsync();
|
||||||
}
|
}
|
||||||
|
@ -509,7 +512,10 @@ namespace IRaCIS.Application.Services
|
||||||
{
|
{
|
||||||
QuestionId = x.Id,
|
QuestionId = x.Id,
|
||||||
CustomCalculateMark = x.CustomCalculateMark,
|
CustomCalculateMark = x.CustomCalculateMark,
|
||||||
CalculateQuestionList = x.CalculateQuestionList
|
CalculateQuestionList = x.CalculateQuestionList,
|
||||||
|
ValueType = x.ValueType,
|
||||||
|
Unit = x.Unit,
|
||||||
|
CustomUnit = x.CustomUnit,
|
||||||
|
|
||||||
}).ToListAsync();
|
}).ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue