เพิ่มเครื่องราชฯ เพิ่มหน้ากรองลูกจ้างประจำก่อนประมวลผล
Some checks failed
release-dev / release-dev (push) Failing after 11s
Some checks failed
release-dev / release-dev (push) Failing after 11s
This commit is contained in:
parent
d0e5089a06
commit
8a3baab88f
10 changed files with 19516 additions and 2 deletions
|
|
@ -6530,8 +6530,13 @@ namespace BMA.EHR.Application.Repositories
|
|||
var allOfficerProfilesByRoot =
|
||||
(await _userProfileRepository.GetOfficerProfileByRootIdAsync(ocId, AccessToken));
|
||||
|
||||
var allEmployeeProfileByRoot =
|
||||
(await _userProfileRepository.GetEmployeeProfileByRootIdAsync(ocId, AccessToken));
|
||||
var period = await _dbContext.Set<InsigniaPeriod>().Include(x => x.InsigniaEmployees).FirstOrDefaultAsync(p => p.Id == periodId);
|
||||
var allEmployeeProfileByRoot = new List<GetProfileByRootIdDto>();
|
||||
if (period != null && period.InsigniaEmployees != null)
|
||||
{
|
||||
allEmployeeProfileByRoot =
|
||||
(await _userProfileRepository.GetEmployeeProfileByPositionAsync(period.InsigniaEmployees.Select(x => x.RefId), AccessToken));
|
||||
}
|
||||
|
||||
var type_coin = await GetCoinCandidate(periodId, ocId, allOfficerProfilesByRoot);
|
||||
var type1_level1 = await GetInsigniaCandidate_Type1_Level1(periodId, ocId, allOfficerProfilesByRoot);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue