no message

This commit is contained in:
Kittapath 2024-08-01 16:49:26 +07:00
parent 463c1f9669
commit 4bce0ff22d

View file

@ -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",