feat(order): order change actions engine (#6467)
This commit is contained in:
committed by
GitHub
parent
cdb01e073b
commit
03ca5c814e
@@ -50,6 +50,14 @@ export function buildQuery<T = any, TDto = any>(
|
||||
}
|
||||
}
|
||||
|
||||
if (config.filters) {
|
||||
findOptions.filters ??= {}
|
||||
|
||||
for (const [key, value] of Object.entries(config.filters)) {
|
||||
findOptions.filters[key] = value
|
||||
}
|
||||
}
|
||||
|
||||
return { where, options: findOptions }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user