feat: add query param
This commit is contained in:
parent
e67492ac44
commit
e7c29d20e0
1 changed files with 4 additions and 0 deletions
|
|
@ -258,6 +258,8 @@ export class CustomerBranchController extends Controller {
|
|||
@Query() gender?: string,
|
||||
@Query() status?: Status,
|
||||
@Query() query: string = "",
|
||||
@Query() passport?: boolean,
|
||||
@Query() visa?: boolean,
|
||||
@Query() page: number = 1,
|
||||
@Query() pageSize: number = 30,
|
||||
) {
|
||||
|
|
@ -284,6 +286,8 @@ export class CustomerBranchController extends Controller {
|
|||
province: true,
|
||||
district: true,
|
||||
subDistrict: true,
|
||||
employeePassport: passport,
|
||||
employeeVisa: visa,
|
||||
createdBy: true,
|
||||
updatedBy: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue