修改一版

Uat_Study
he 2022-05-05 16:38:57 +08:00
parent 9b1469da37
commit d1d35ee89c
3 changed files with 6 additions and 2 deletions

View File

@ -365,6 +365,9 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
public decimal? VisitNum { get; set; }
public string OptTypeName { get; set; } = string.Empty;
/// <summary>
/// 父标识
/// </summary>

View File

@ -140,7 +140,8 @@ namespace IRaCIS.Core.Application.Service.Inspection
ParentIdentification = leftparent.Identification,
OptType = leftOptType.Id,
VisitNum=leftsubjectVisit.VisitNum,
IsFrontAdd=data.IsFrontAdd
IsFrontAdd=data.IsFrontAdd,
OptTypeName = leftOptType.Value,
};

View File

@ -647,7 +647,7 @@ namespace IRaCIS.Core.Infra.EFCore
public async Task<string> SetEnum(Guid trilaid, string identification, string json)
{
var list = await (from u in _dbContext.FrontAuditConfig.Where(x => x.Identification == identification)
join p in _dbContext.FrontAuditConfig.Where(x => x.Code != "AuditState" && x.EnumType == "Date") on u.Id equals p.ParentId
join p in _dbContext.FrontAuditConfig.Where(x => x.Code != "AuditState" && x.EnumType == "Dictionary") on u.Id equals p.ParentId
select new
{
Key = p.Code,