Test.EIImageViewer
parent
664870c725
commit
b89029adff
|
@ -124,7 +124,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
|
||||
|
@ -185,7 +185,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
public Guid? Id { get; set; }
|
||||
public Guid ReadingQuestionId { get; set; }
|
||||
public string Type { get; set; } = string.Empty;
|
||||
|
@ -628,7 +628,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
}
|
||||
|
||||
public class ReadingQuestionSystemView
|
||||
|
@ -641,7 +641,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Id
|
||||
|
@ -969,7 +969,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分组
|
||||
|
@ -1242,7 +1242,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
}
|
||||
|
||||
public class GetSystemCriterionSelectDto
|
||||
|
|
|
@ -328,7 +328,7 @@ namespace IRaCIS.Core.Application
|
|||
|
||||
});
|
||||
|
||||
var result = await _trialRepository.SaveChangesAsync();
|
||||
var result = await _readingQuestionCriterionTrialRepository.SaveChangesAsync();
|
||||
|
||||
|
||||
return ResponseOutput.Ok(result);
|
||||
|
|
|
@ -16,6 +16,26 @@ namespace IRaCIS.Core.Domain.Share
|
|||
public static readonly string Group = "group";
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数值单位
|
||||
/// </summary>
|
||||
public enum ValueUnit
|
||||
{
|
||||
None=0,
|
||||
|
||||
/// <summary>
|
||||
/// MM
|
||||
/// </summary>
|
||||
MM = 1,
|
||||
|
||||
/// <summary>
|
||||
/// CM
|
||||
/// </summary>
|
||||
CM = 2
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
|
|
|
@ -148,7 +148,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("ReadingQuestionCriterionSystemId")]
|
||||
|
|
|
@ -181,7 +181,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分页标准
|
||||
|
|
|
@ -146,7 +146,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
[ForeignKey("DependParentId")]
|
||||
public ReadingTableQuestionSystem DependParentQuestion { get; set; }
|
||||
|
|
|
@ -150,7 +150,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("DependParentId")]
|
||||
|
|
Loading…
Reference in New Issue