add 档案增加身份认证用户ID
This commit is contained in:
@@ -32,9 +32,9 @@ public class GainfoService : IGainfoService
|
||||
request.DepartmentNos = await GetRecursionDepartmentNosAsync(request.DepartmentNos);
|
||||
|
||||
var page = await _gainfoStore.Queryable(request.Status)
|
||||
.WhereIF(request.DepartmentNos.Any(), gainfo => request.DepartmentNos.Contains(gainfo.DepartmentNo))
|
||||
.WhereIF(request.DepartmentNos.IsPresent(), gainfo => request.DepartmentNos.Contains(gainfo.DepartmentNo))
|
||||
.Select<GainfoPageResponse>()
|
||||
.ToPageListAsync(request);
|
||||
.ToPageListAsync(request);
|
||||
|
||||
return page;
|
||||
}
|
||||
|
||||
@@ -148,6 +148,12 @@ public class GainfoEntity : SugarBaseEntity
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "在职状态")]
|
||||
public string Employed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份认证用户Id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份认证用户Id")]
|
||||
public int IdentityUserId { get; set; }
|
||||
}
|
||||
|
||||
//[SugarTable(TableName = "GainfoLeave", TableDescription = "离职人员档案表")]
|
||||
|
||||
Reference in New Issue
Block a user