解决创建商品时规格组合选择问题

This commit is contained in:
dzl
2025-10-16 17:29:59 +08:00
parent 21585fe3e9
commit a5b2638627
3 changed files with 49 additions and 15 deletions

View File

@@ -77,7 +77,7 @@ router.get('/', async (req, res) => {
SELECT
o.id, o.order_no, o.user_id, o.total_amount, o.total_points,
o.status, o.address, o.created_at, o.updated_at,o.total_rongdou,
u.username,salesperson_id
u.username, o.salesperson_id, o.delivery_code, o.logistics_company
FROM orders o
LEFT JOIN users u ON o.user_id = u.id
${whereClause}