diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 14467328..ec09edf0 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -667,7 +667,7 @@ export class ProfileEmployeeController extends Controller { .leftJoinAndSelect("current_holders.orgChild3", "orgChild3") .leftJoinAndSelect("current_holders.orgChild4", "orgChild4") .andWhere("profileEmployee.employeeClass = :employeeClass", { employeeClass: "TEMP" }) - .andWhere("profileEmployee.statusTemp = :statusTemp", { statusTemp: "REPORT" }) + .andWhere("profileEmployee.statusTemp = :statusTemp", { statusTemp: "PENDING" }) .getManyAndCount(); const data = await Promise.all( record.map((_data) => { @@ -1853,7 +1853,7 @@ export class ProfileEmployeeController extends Controller { profileEmp.posTypeNameTemp = body.posTypeName; profileEmp.posLevelIdTemp = String(body.posLevelId); profileEmp.posLevelNameTemp = body.posLevelName; - profileEmp.statusTemp = "REPORT"; + profileEmp.statusTemp = "PENDING"; this.profileRepo.merge(profileEmp, body); await this.profileRepo.save(profileEmp); return new HttpSuccess();