no message
This commit is contained in:
parent
463c1f9669
commit
4bce0ff22d
1 changed files with 4 additions and 4 deletions
|
|
@ -208,9 +208,9 @@ export class ImportDataController extends Controller {
|
||||||
for await (const item of readStream) {
|
for await (const item of readStream) {
|
||||||
rowCount++;
|
rowCount++;
|
||||||
const profileEmp = new ProfileEmployee();
|
const profileEmp = new ProfileEmployee();
|
||||||
if (item["FLAG_RETIRE_STATUS"] != "" && item["FLAG_RETIRE_STATUS"] != null) {
|
// if (item["FLAG_RETIRE_STATUS"] != "" && item["FLAG_RETIRE_STATUS"] != null) {
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
if (item["FLAG_PERSON_TYPE"] != "6") {
|
if (item["FLAG_PERSON_TYPE"] != "6") {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
@ -589,7 +589,7 @@ export class ImportDataController extends Controller {
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
profiles.map(async (_item) => {
|
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 },
|
where: { CIT: _item.citizenId },
|
||||||
select: [
|
select: [
|
||||||
"CIT",
|
"CIT",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue