Uat_Study
hang 2022-04-28 15:04:43 +08:00
parent 3598ac4f5a
commit df8675e4c9
4 changed files with 8 additions and 1 deletions

View File

@ -100,7 +100,6 @@ namespace IRaCIS.Core.API.Controllers
[UnitOfWork]
public async Task<IResponseOutput> AbandonTrial(DataInspectionDto<AbandonTrial> opt)
{
var cc = _userInfo.RequestUrl;
var fun = await _trialConfigService.AbandonTrial(opt.OptCommand.trialId,opt.OptCommand.isAbandon);
return await _inspectionService.Enforcement(opt.OptCommand, opt.AuditInfo, opt.SignInfo,null, fun);
}

View File

@ -37,6 +37,8 @@ namespace IRaCIS.Application.Contracts
public string ValueCN { get; set; } = String.Empty;
public int ChildCodeEnum { get; set; }
public int ShowOrder { get; set; }
@ -68,6 +70,9 @@ namespace IRaCIS.Application.Contracts
public Guid? ParentId { get; set; }
public string ParentCode { get; set; } = string.Empty;
public int? ParentChildCodeEnum { get; set; }
}
public class BasicDicQuery:PageInput

View File

@ -40,6 +40,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<Dictionary, BasicDicSelect>()
.ForMember(o => o.ParentChildCodeEnum, t => t.MapFrom(u => u.Parent.ChildCodeEnum))
.ForMember(o => o.ParentCode, t => t.MapFrom(u => u.Parent.Code));
var token = "";

View File

@ -52,6 +52,7 @@ namespace IRaCIS.Core.Domain.Models
[ForeignKey("ParentId")]
public Dictionary Parent { get; set; }
public int ChildCodeEnum { get; set; }
[StringLength(50)]