Skip to content

Commit 6b07798

Browse files
committed
Ajout exclusion comptes locaux pour la detection des doublons
1 parent a847fc7 commit 6b07798

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/management/identities/identities-doublon.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class IdentitiesDoublonService extends AbstractIdentitiesService {
1010
$match: {
1111
state: { $ne: IdentityState.DONT_SYNC },
1212
destFusionId: { $eq: null },
13+
'inetOrgPerson.employeeType': {$ne: 'LOCAL'}
1314
},
1415
},
1516
{
@@ -54,6 +55,7 @@ export class IdentitiesDoublonService extends AbstractIdentitiesService {
5455
$match: {
5556
state: { $ne: IdentityState.DONT_SYNC },
5657
destFusionId: { $eq: null },
58+
'inetOrgPerson.employeeType': {$ne: 'LOCAL'},
5759
},
5860
},
5961
{

0 commit comments

Comments
 (0)