fix: wrong condition cause request work to 0
This commit is contained in:
parent
de69518c73
commit
3037cc7010
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ export class RequestListController extends Controller {
|
|||
@Query() workStatus?: RequestWorkStatus,
|
||||
) {
|
||||
const where = {
|
||||
stepStatus: { some: { workStatus } },
|
||||
stepStatus: workStatus ? { some: { workStatus } } : undefined,
|
||||
request: {
|
||||
id: requestDataId,
|
||||
quotation: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue