This commit is contained in:
AdisakKanthawilang 2024-06-13 16:15:56 +07:00
parent 6e5f20ed18
commit 055173a038
4 changed files with 57 additions and 3 deletions

View file

@ -3150,6 +3150,7 @@ export class ProfileController extends Controller {
case "citizenId":
[findProfile, total] = await this.profileRepo.findAndCount({
where: {
keycloak: IsNull(),
citizenId: Like(`%${body.keyword}%`),
},
relations: ["posType", "posLevel", "current_holders", "profileSalary"],
@ -3289,6 +3290,6 @@ export class ProfileController extends Controller {
}),
);
return new HttpSuccess({data: mapDataProfile , total});
return new HttpSuccess({ data: mapDataProfile, total });
}
}