ระบบพัฒนาบุคลากร>>อัปโหลดไฟล์รายชื่อผู้ผ่านการฝึกอบรม (ลูกจ้างประจำ) #803

This commit is contained in:
AdisakKanthawilang 2024-11-22 10:02:27 +07:00
parent ae165074a8
commit f5dda8646c

View file

@ -871,7 +871,7 @@ export class OrganizationUnauthorizeController extends Controller {
.leftJoinAndSelect("current_holders.orgChild4", "orgChild4")
.leftJoinAndSelect("current_holders.positions", "positions")
// .leftJoinAndSelect("positions.posExecutive", "posExecutive")
.where({ citizenId: id, employeeclass: "PREM" })
.where({ citizenId: id, employeeClass: "PERM" })
.getOne();
if (!findProfile) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "not found Profile");
@ -1152,5 +1152,6 @@ export class OrganizationUnauthorizeController extends Controller {
Object.assign(profile, body);
profile.statusEmail = "VERIFIED";
await this.profileRepo.save(profile);
return new HttpSuccess("Email verified successfully.");
}
}