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

@ -2931,7 +2931,7 @@ export class ProfileEmployeeController extends Controller {
const skip = (page - 1) * pageSize;
const take = pageSize;
switch (body.fieldName) {
case "idcard":
case "citizenId":
[findProfile, total] = await this.profileRepo.findAndCount({
where: {
keycloak: IsNull(),
@ -3049,7 +3049,7 @@ export class ProfileEmployeeController extends Controller {
firstName: item.firstName,
lastName: item.lastName,
position: item.position,
idcard: item.citizenId,
citizenId: item.citizenId,
email: item.email,
phone: item.phone,
name: fullName,