add 档案增加身份认证用户ID

This commit is contained in:
2024-01-10 13:35:28 +08:00
parent cd31e3fc58
commit be581e43e3
2 changed files with 8 additions and 2 deletions

View File

@@ -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;
}