feat: product site sku #63

Merged
longbot merged 2 commits from zksu/API:main into main 2026-01-24 10:30:09 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6cb793b3ca - Show all commits

View File

@ -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'),