fix
This commit is contained in:
parent
6e5f20ed18
commit
055173a038
4 changed files with 57 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue