add startDate, endDate
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s
This commit is contained in:
parent
27d3ce6573
commit
d52680c23f
1 changed files with 4 additions and 0 deletions
|
|
@ -212,6 +212,8 @@ export class EmployeeController extends Controller {
|
||||||
@Query() page: number = 1,
|
@Query() page: number = 1,
|
||||||
@Query() pageSize: number = 30,
|
@Query() pageSize: number = 30,
|
||||||
@Query() activeOnly?: boolean,
|
@Query() activeOnly?: boolean,
|
||||||
|
@Query() startDate?: Date,
|
||||||
|
@Query() endDate?: Date,
|
||||||
) {
|
) {
|
||||||
return this.listByCriteria(
|
return this.listByCriteria(
|
||||||
req,
|
req,
|
||||||
|
|
@ -226,6 +228,8 @@ export class EmployeeController extends Controller {
|
||||||
page,
|
page,
|
||||||
pageSize,
|
pageSize,
|
||||||
activeOnly,
|
activeOnly,
|
||||||
|
startDate,
|
||||||
|
endDate,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue