fix: raw query relation
This commit is contained in:
parent
5e8dd1ddad
commit
c464da6228
1 changed files with 4 additions and 4 deletions
|
|
@ -27,9 +27,9 @@ export class ProductServiceController extends Controller {
|
||||||
"status",
|
"status",
|
||||||
"statusOrder",
|
"statusOrder",
|
||||||
"productTypeId",
|
"productTypeId",
|
||||||
"createdBy",
|
"createdByUserId",
|
||||||
"createdAt",
|
"createdAt",
|
||||||
"updatedBy",
|
"updatedByUserId",
|
||||||
"updatedAt",
|
"updatedAt",
|
||||||
'product' as "type"
|
'product' as "type"
|
||||||
FROM "Product"
|
FROM "Product"
|
||||||
|
|
@ -47,9 +47,9 @@ export class ProductServiceController extends Controller {
|
||||||
"status",
|
"status",
|
||||||
"statusOrder",
|
"statusOrder",
|
||||||
null as "productTypeId",
|
null as "productTypeId",
|
||||||
"createdBy",
|
"createdByUserId",
|
||||||
"createdAt",
|
"createdAt",
|
||||||
"updatedBy",
|
"updatedByUserId",
|
||||||
"updatedAt",
|
"updatedAt",
|
||||||
'service' as "type"
|
'service' as "type"
|
||||||
FROM "Service"
|
FROM "Service"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue