fix 补充factory字段

This commit is contained in:
2024-10-17 17:11:33 +08:00
parent bd28b24992
commit 1d778f4d80
2 changed files with 4 additions and 0 deletions

View File

@@ -15,4 +15,6 @@ public class GainfoOpenResponse
public string DepartmentName { get; set; } public string DepartmentName { get; set; }
public GainfoStatusEnumType Status { get; set; } public GainfoStatusEnumType Status { get; set; }
public string Factory { get; set; }
} }

View File

@@ -34,6 +34,7 @@ public class GainfoService : IGainfoService
DepartmentName = d.Name, DepartmentName = d.Name,
Name = x.Name, Name = x.Name,
Gender = x.Gender, Gender = x.Gender,
Factory = x.Factory,
Status = GainfoStatusEnumType.Working, Status = GainfoStatusEnumType.Working,
}) })
.ToListAsync(); .ToListAsync();
@@ -48,6 +49,7 @@ public class GainfoService : IGainfoService
DepartmentName = d.Name, DepartmentName = d.Name,
Name = x.Name, Name = x.Name,
Gender = x.Gender, Gender = x.Gender,
Factory = x.Factory,
Status = GainfoStatusEnumType.Leave, Status = GainfoStatusEnumType.Leave,
}) })
.ToListAsync(); .ToListAsync();