feat: product site sku #63
|
|
@ -547,7 +547,7 @@ export class StockService {
|
|||
qb
|
||||
.select([
|
||||
'ti.transferId AS transferId',
|
||||
"JSON_ARRAYAGG(JSON_OBJECT('id', ti.id, 'productName', ti.productName,'sku', ti.sku, 'quantity', ti.quantity)) AS items",
|
||||
"JSON_ARRAYAGG(JSON_OBJECT('id', ti.id, 'productName', ti.name,'sku', ti.sku, 'quantity', ti.quantity)) AS items",
|
||||
])
|
||||
.from(TransferItem, 'ti')
|
||||
.groupBy('ti.transferId'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue