fix: missing query
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
parent
0d78ce4db3
commit
e5a3d948a5
1 changed files with 8 additions and 0 deletions
|
|
@ -642,6 +642,10 @@ export class CustomerExportController extends CustomerController {
|
|||
@Query() activeBranchOnly?: boolean,
|
||||
@Query() startDate?: Date,
|
||||
@Query() endDate?: Date,
|
||||
@Query() businessType?: string,
|
||||
@Query() province?: string,
|
||||
@Query() district?: string,
|
||||
@Query() subDistrict?: string,
|
||||
) {
|
||||
const ret = await this.list(
|
||||
req,
|
||||
|
|
@ -655,6 +659,10 @@ export class CustomerExportController extends CustomerController {
|
|||
activeBranchOnly,
|
||||
startDate,
|
||||
endDate,
|
||||
businessType,
|
||||
province,
|
||||
district,
|
||||
subDistrict,
|
||||
);
|
||||
|
||||
this.setHeader("Content-Type", "text/csv");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue