forked from yoone/API
1
0
Fork 0

增加返回值

This commit is contained in:
黄珑 2025-08-13 17:50:22 +08:00
parent 8e256f67a5
commit cbd5ddc4d2
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ export class LogisticsService {
} }
const sql = ` const sql = `
SELECT s.*, sp.name, o.externalOrderId SELECT s.*, sp.name, o.externalOrderId, o.siteId
FROM shipment s FROM shipment s
LEFT JOIN \`order\` o ON s.order_id = o.id LEFT JOIN \`order\` o ON s.order_id = o.id
LEFT JOIN stock_point sp ON s.stock_point_id = sp.id LEFT JOIN stock_point sp ON s.stock_point_id = sp.id