add startDate, endDate
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 7s

This commit is contained in:
Kanjana 2025-04-17 17:05:19 +07:00
parent 27d3ce6573
commit d52680c23f

View file

@ -212,6 +212,8 @@ export class EmployeeController extends Controller {
@Query() page: number = 1,
@Query() pageSize: number = 30,
@Query() activeOnly?: boolean,
@Query() startDate?: Date,
@Query() endDate?: Date,
) {
return this.listByCriteria(
req,
@ -226,6 +228,8 @@ export class EmployeeController extends Controller {
page,
pageSize,
activeOnly,
startDate,
endDate,
);
}