diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index e874083e..e4d2d9bd 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -3574,11 +3574,13 @@ namespace BMA.EHR.Application.Repositories.Commands profile.Salaries.Add(salary); + var org_pos = await _dbContext.Set().Include(x => x.PositionNumber).FirstOrDefaultAsync(x => x.PositionNumber.Id == placementProfile.PositionNumber.Id); + // add profile position var profilePosition = new ProfilePosition { Profile = profile, - OrganizationPosition = placementProfile.OrganizationPosition, + OrganizationPosition = org_pos, IsActive = true, IsPublished = true, }; @@ -3833,11 +3835,13 @@ namespace BMA.EHR.Application.Repositories.Commands profile.Salaries.Add(salary); + var org_pos = await _dbContext.Set().Include(x => x.PositionNumber).FirstOrDefaultAsync(x => x.PositionNumber.Id == placementProfile.PositionNumber.Id); + // add profile position var profilePosition = new ProfilePosition { Profile = profile, - OrganizationPosition = placementProfile.OrganizationPosition, + OrganizationPosition = org_pos, IsActive = true, IsPublished = true, }; diff --git a/BMA.EHR.Report.Service/Reports/08-คำสั่งบรรจุและแต่งตั้งข้าราชการฯกลับเข้ารับราชการ-6.trdp b/BMA.EHR.Report.Service/Reports/08-คำสั่งบรรจุและแต่งตั้งข้าราชการฯกลับเข้ารับราชการ-6.trdp index 324d2aa9..f2e4bfbc 100644 Binary files a/BMA.EHR.Report.Service/Reports/08-คำสั่งบรรจุและแต่งตั้งข้าราชการฯกลับเข้ารับราชการ-6.trdp and b/BMA.EHR.Report.Service/Reports/08-คำสั่งบรรจุและแต่งตั้งข้าราชการฯกลับเข้ารับราชการ-6.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/09-คำสั่งบรรจุและแต่งตั้งผู้ออกไปรับราชการทหารกลับเข้ารับราชการ-8.trdp b/BMA.EHR.Report.Service/Reports/09-คำสั่งบรรจุและแต่งตั้งผู้ออกไปรับราชการทหารกลับเข้ารับราชการ-8.trdp index 79781474..d6edf172 100644 Binary files a/BMA.EHR.Report.Service/Reports/09-คำสั่งบรรจุและแต่งตั้งผู้ออกไปรับราชการทหารกลับเข้ารับราชการ-8.trdp and b/BMA.EHR.Report.Service/Reports/09-คำสั่งบรรจุและแต่งตั้งผู้ออกไปรับราชการทหารกลับเข้ารับราชการ-8.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp b/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp index 58bfd35b..c693b34b 100644 Binary files a/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp and b/BMA.EHR.Report.Service/Reports/29-คำสั่งให้ช่วยราชการ-1.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp b/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp index 5514d4cc..3a75d9bf 100644 Binary files a/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp and b/BMA.EHR.Report.Service/Reports/30-คำสั่งส่งตัวกลับไปปฏิบัติงานทางต้นสังกัดเดิม.trdp differ diff --git a/BMA.EHR.Report.Service/Reports/33-แบบฟอร์มหนังสือขอลาออกจากราชการ-1.trdp b/BMA.EHR.Report.Service/Reports/33-แบบฟอร์มหนังสือขอลาออกจากราชการ-1.trdp index d10297c4..3f2a0da1 100644 Binary files a/BMA.EHR.Report.Service/Reports/33-แบบฟอร์มหนังสือขอลาออกจากราชการ-1.trdp and b/BMA.EHR.Report.Service/Reports/33-แบบฟอร์มหนังสือขอลาออกจากราชการ-1.trdp differ