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