ระบบพัฒนาบุคลากร>>อัปโหลดไฟล์รายชื่อผู้ผ่านการฝึกอบรม (ลูกจ้างประจำ) #803
This commit is contained in:
parent
ae165074a8
commit
f5dda8646c
1 changed files with 2 additions and 1 deletions
|
|
@ -871,7 +871,7 @@ export class OrganizationUnauthorizeController extends Controller {
|
||||||
.leftJoinAndSelect("current_holders.orgChild4", "orgChild4")
|
.leftJoinAndSelect("current_holders.orgChild4", "orgChild4")
|
||||||
.leftJoinAndSelect("current_holders.positions", "positions")
|
.leftJoinAndSelect("current_holders.positions", "positions")
|
||||||
// .leftJoinAndSelect("positions.posExecutive", "posExecutive")
|
// .leftJoinAndSelect("positions.posExecutive", "posExecutive")
|
||||||
.where({ citizenId: id, employeeclass: "PREM" })
|
.where({ citizenId: id, employeeClass: "PERM" })
|
||||||
.getOne();
|
.getOne();
|
||||||
if (!findProfile) {
|
if (!findProfile) {
|
||||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "not found Profile");
|
throw new HttpError(HttpStatusCode.NOT_FOUND, "not found Profile");
|
||||||
|
|
@ -1152,5 +1152,6 @@ export class OrganizationUnauthorizeController extends Controller {
|
||||||
Object.assign(profile, body);
|
Object.assign(profile, body);
|
||||||
profile.statusEmail = "VERIFIED";
|
profile.statusEmail = "VERIFIED";
|
||||||
await this.profileRepo.save(profile);
|
await this.profileRepo.save(profile);
|
||||||
|
return new HttpSuccess("Email verified successfully.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue