diff --git a/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs b/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs
index bb3ccb315..4c0f8ddc7 100644
--- a/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs
+++ b/IRaCIS.Core.Application/Service/Inspection/DTO/InspectionModel.cs
@@ -365,6 +365,9 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
public decimal? VisitNum { get; set; }
+ public string OptTypeName { get; set; } = string.Empty;
+
+
///
/// 父标识
///
diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs
index 6bf22b47e..00e00396e 100644
--- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs
+++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs
@@ -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,
};
diff --git a/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs b/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs
index 8b0e1b5d2..2c99cadc8 100644
--- a/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs
+++ b/IRaCIS.Core.Infra.EFCore/Repository/Repository.cs
@@ -647,7 +647,7 @@ namespace IRaCIS.Core.Infra.EFCore
public async Task 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,