Uat_Study
parent
3520c1213c
commit
1c546fcb2b
|
@ -111,6 +111,8 @@ namespace IRaCIS.Application.Contracts
|
|||
public string ValueCN { get; set; } = string.Empty;
|
||||
public string Value { get; set; } = string.Empty;
|
||||
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
public Guid? ParentId { get; set; }
|
||||
|
|
|
@ -158,6 +158,11 @@ namespace IRaCIS.Application.Services
|
|||
[HttpDelete("{id:guid}")]
|
||||
public async Task<IResponseOutput> DeleteDictionary(Guid id)
|
||||
{
|
||||
if (await _readingCriterionDictionaryRepository.AnyAsync(x => x.DictionaryId == id))
|
||||
{
|
||||
return ResponseOutput.NotOk("当前字典在标准中被引用,不允许删除!");
|
||||
}
|
||||
|
||||
if (await _dicRepository.AnyAsync(t => t.ParentId == id))
|
||||
{
|
||||
return ResponseOutput.NotOk("有子项数据,不允许直接删除!");
|
||||
|
@ -314,6 +319,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
ChildGroup = x.Dictionary.ChildGroup,
|
||||
Code = x.Dictionary.Code,
|
||||
Description=x.Dictionary.Description,
|
||||
DataTypeEnum = x.Dictionary.DataTypeEnum,
|
||||
ParentChildCodeEnum = x.Dictionary.Parent.ChildCodeEnum,
|
||||
ShowOrder = x.Dictionary.ShowOrder,
|
||||
|
|
|
@ -202,6 +202,13 @@ namespace IRaCIS.Core.Application.ViewModel
|
|||
public Guid OriginalId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class SynchronizeSystemOrganInDto
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class SynchronizeSystemOrganToTrialInDto
|
||||
{
|
||||
|
||||
|
|
|
@ -950,6 +950,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据来源
|
||||
/// </summary>
|
||||
|
@ -1021,10 +1026,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public string RelevanceValue { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统标准Id
|
||||
|
@ -1570,6 +1571,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public LesionType? LesionType { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 问题类型
|
||||
/// </summary>
|
||||
|
|
|
@ -369,6 +369,10 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
#endregion
|
||||
|
||||
//public async Task<IResponseOutput> SynchronizeSystemOrgan()
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue