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) {
|
||||
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue