diff --git a/src/controllers/ImportDataController.ts b/src/controllers/ImportDataController.ts index 25ef7697..ff378dc5 100644 --- a/src/controllers/ImportDataController.ts +++ b/src/controllers/ImportDataController.ts @@ -208,9 +208,9 @@ export class ImportDataController extends Controller { for await (const item of readStream) { rowCount++; const profileEmp = new ProfileEmployee(); - if (item["FLAG_RETIRE_STATUS"] != "" && item["FLAG_RETIRE_STATUS"] != null) { - continue; - } + // if (item["FLAG_RETIRE_STATUS"] != "" && item["FLAG_RETIRE_STATUS"] != null) { + // continue; + // } if (item["FLAG_PERSON_TYPE"] != "6") { continue; } @@ -589,7 +589,7 @@ export class ImportDataController extends Controller { await Promise.all( profiles.map(async (_item) => { - const existingProfile = await this.HR_PERSONAL_OFFICER_FAMILYRepo.findOne({ + const existingProfile = await this.HR_PERSONAL_EMP_FAMILYRepo.findOne({ where: { CIT: _item.citizenId }, select: [ "CIT",