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: {
|
request: {
|
||||||
include: {
|
include: {
|
||||||
employee: true,
|
employee: true,
|
||||||
|
quotation: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
productService: {
|
productService: {
|
||||||
|
|
@ -198,7 +199,23 @@ export class TaskController extends Controller {
|
||||||
include: {
|
include: {
|
||||||
taskList: {
|
taskList: {
|
||||||
include: {
|
include: {
|
||||||
requestWork: true,
|
requestWork: {
|
||||||
|
include: {
|
||||||
|
request: {
|
||||||
|
include: {
|
||||||
|
employee: true,
|
||||||
|
quotation: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
productService: {
|
||||||
|
include: {
|
||||||
|
service: true,
|
||||||
|
work: true,
|
||||||
|
product: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
institution: true,
|
institution: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue