fix citizenId
This commit is contained in:
parent
c6dd2632d5
commit
6e5f20ed18
1 changed files with 2 additions and 2 deletions
|
|
@ -3147,7 +3147,7 @@ export class ProfileController extends Controller {
|
|||
const skip = (page - 1) * pageSize;
|
||||
const take = pageSize;
|
||||
switch (body.fieldName) {
|
||||
case "idcard":
|
||||
case "citizenId":
|
||||
[findProfile, total] = await this.profileRepo.findAndCount({
|
||||
where: {
|
||||
citizenId: Like(`%${body.keyword}%`),
|
||||
|
|
@ -3264,7 +3264,7 @@ export class ProfileController 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