xxx
parent
3598ac4f5a
commit
df8675e4c9
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = "";
|
||||
|
|
|
@ -52,6 +52,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
[ForeignKey("ParentId")]
|
||||
public Dictionary Parent { get; set; }
|
||||
|
||||
public int ChildCodeEnum { get; set; }
|
||||
|
||||
|
||||
[StringLength(50)]
|
||||
|
|
Loading…
Reference in New Issue