From 1d778f4d803268bb92722c568fba7d9394df84db Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 17 Oct 2024 17:11:33 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=A1=A5=E5=85=85factory=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.External/OpenApi/Response/GainfoOpenResponse.cs | 2 ++ Src/Dlhis.External/OpenApi/Services/Implements/GainfoService.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Src/Dlhis.External/OpenApi/Response/GainfoOpenResponse.cs b/Src/Dlhis.External/OpenApi/Response/GainfoOpenResponse.cs index 0145ae61..33122620 100644 --- a/Src/Dlhis.External/OpenApi/Response/GainfoOpenResponse.cs +++ b/Src/Dlhis.External/OpenApi/Response/GainfoOpenResponse.cs @@ -15,4 +15,6 @@ public class GainfoOpenResponse public string DepartmentName { get; set; } public GainfoStatusEnumType Status { get; set; } + + public string Factory { get; set; } } diff --git a/Src/Dlhis.External/OpenApi/Services/Implements/GainfoService.cs b/Src/Dlhis.External/OpenApi/Services/Implements/GainfoService.cs index 4636452a..e580e4e5 100644 --- a/Src/Dlhis.External/OpenApi/Services/Implements/GainfoService.cs +++ b/Src/Dlhis.External/OpenApi/Services/Implements/GainfoService.cs @@ -34,6 +34,7 @@ public class GainfoService : IGainfoService DepartmentName = d.Name, Name = x.Name, Gender = x.Gender, + Factory = x.Factory, Status = GainfoStatusEnumType.Working, }) .ToListAsync(); @@ -48,6 +49,7 @@ public class GainfoService : IGainfoService DepartmentName = d.Name, Name = x.Name, Gender = x.Gender, + Factory = x.Factory, Status = GainfoStatusEnumType.Leave, }) .ToListAsync();