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