feat: update relation query for get task by id
This commit is contained in:
parent
2678b1964d
commit
88034cf064
1 changed files with 18 additions and 1 deletions
|
|
@ -116,6 +116,7 @@ export class TaskController extends Controller {
|
|||
request: {
|
||||
include: {
|
||||
employee: true,
|
||||
quotation: true,
|
||||
},
|
||||
},
|
||||
productService: {
|
||||
|
|
@ -198,7 +199,23 @@ export class TaskController extends Controller {
|
|||
include: {
|
||||
taskList: {
|
||||
include: {
|
||||
requestWork: true,
|
||||
requestWork: {
|
||||
include: {
|
||||
request: {
|
||||
include: {
|
||||
employee: true,
|
||||
quotation: true,
|
||||
},
|
||||
},
|
||||
productService: {
|
||||
include: {
|
||||
service: true,
|
||||
work: true,
|
||||
product: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
institution: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue