no message
This commit is contained in:
parent
4dcb2c467d
commit
d08b4ca723
2 changed files with 21 additions and 16 deletions
|
|
@ -1107,10 +1107,10 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
continue;
|
||||
//var organizationType = await _dbContext.Set<OrganizationType>().Where(x => x.Name == "หน่วยงาน").FirstOrDefaultAsync();
|
||||
//if (organizationType == null)
|
||||
// continue;
|
||||
// continue;
|
||||
//var organizations = await _dbContext.Set<OrganizationEntity>().Where(x => x.OrganizationType == organizationType).ToListAsync();
|
||||
var organizations = await _userProfileRepository.GetActiveRootLatestAsync(null);
|
||||
if(organizations == null)
|
||||
var organizations = await _userProfileRepository.GetActiveRootLatestAsync(AccessToken);
|
||||
if (organizations == null)
|
||||
continue;
|
||||
foreach (var organization in organizations)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue