修改一版
parent
9b1469da37
commit
d1d35ee89c
|
@ -365,6 +365,9 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
|
||||||
|
|
||||||
public decimal? VisitNum { get; set; }
|
public decimal? VisitNum { get; set; }
|
||||||
|
|
||||||
|
public string OptTypeName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 父标识
|
/// 父标识
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -140,7 +140,8 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||||
ParentIdentification = leftparent.Identification,
|
ParentIdentification = leftparent.Identification,
|
||||||
OptType = leftOptType.Id,
|
OptType = leftOptType.Id,
|
||||||
VisitNum=leftsubjectVisit.VisitNum,
|
VisitNum=leftsubjectVisit.VisitNum,
|
||||||
IsFrontAdd=data.IsFrontAdd
|
IsFrontAdd=data.IsFrontAdd,
|
||||||
|
OptTypeName = leftOptType.Value,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -647,7 +647,7 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||||
public async Task<string> SetEnum(Guid trilaid, string identification, string json)
|
public async Task<string> SetEnum(Guid trilaid, string identification, string json)
|
||||||
{
|
{
|
||||||
var list = await (from u in _dbContext.FrontAuditConfig.Where(x => x.Identification == identification)
|
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
|
select new
|
||||||
{
|
{
|
||||||
Key = p.Code,
|
Key = p.Code,
|
||||||
|
|
Loading…
Reference in New Issue