fix Report ระบบลา
This commit is contained in:
parent
ef415217c8
commit
bcbac7814d
4 changed files with 92 additions and 59 deletions
|
|
@ -56,6 +56,23 @@ namespace BMA.EHR.Application.Repositories.Leaves.TimeAttendants
|
|||
|
||||
#region " Methods "
|
||||
|
||||
public async Task<List<Guid>> GetCheckInKeycloakId()
|
||||
{
|
||||
try
|
||||
{
|
||||
var data = await _dbContext.Set<ProcessUserTimeStamp>()
|
||||
.Select(x => x.KeycloakUserId)
|
||||
.Distinct()
|
||||
.ToListAsync();
|
||||
|
||||
return data;
|
||||
}
|
||||
catch
|
||||
{
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsEditRequest(Guid userId, DateTime checkDate)
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue