feat: add code to query string
This commit is contained in:
parent
f2c1e84490
commit
5e26e38e0b
2 changed files with 5 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ export class QuotationController extends Controller {
|
|||
@Query() payCondition?: PayCondition,
|
||||
@Query() status?: QuotationStatus,
|
||||
@Query() urgentFirst?: boolean,
|
||||
@Query() code?: string,
|
||||
@Query() query = "",
|
||||
) {
|
||||
const where = {
|
||||
|
|
@ -209,6 +210,7 @@ export class QuotationController extends Controller {
|
|||
},
|
||||
},
|
||||
]),
|
||||
code,
|
||||
payCondition,
|
||||
registeredBranch: isSystem(req.user) ? undefined : { OR: permissionCond(req.user) },
|
||||
quotationStatus: status,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue