fix 增加人员类型
This commit is contained in:
@@ -42,6 +42,7 @@ public class GainfoService : IGainfoService
|
||||
.Select((x, d) => new GainfoOpenResponse
|
||||
{
|
||||
Code = x.Code,
|
||||
Type = SqlFunc.IIF(x.Type == GainfoUserTypeEnumType.SecurityWhite, GainfoUserTypeEnumType.Normal, x.Type),
|
||||
DepartmentNo = x.DepartmentNo,
|
||||
DepartmentName = d.Name,
|
||||
Name = x.Name,
|
||||
@@ -62,6 +63,7 @@ public class GainfoService : IGainfoService
|
||||
.Select((x, d) => new GainfoOpenResponse
|
||||
{
|
||||
Code = x.Code,
|
||||
Type = SqlFunc.IIF(x.Type == GainfoUserTypeEnumType.SecurityWhite, GainfoUserTypeEnumType.Normal, x.Type),
|
||||
DepartmentNo = x.DepartmentNo,
|
||||
DepartmentName = d.Name,
|
||||
Name = x.Name,
|
||||
@@ -71,7 +73,7 @@ public class GainfoService : IGainfoService
|
||||
})
|
||||
.ToListAsync();
|
||||
|
||||
return gainfos.Concat(gainfoLeaves).ToList();
|
||||
return gainfos.Concat(gainfoLeaves).ToList();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user