aa
This commit is contained in:
@@ -354,7 +354,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, isIncludeFake bool, fro
|
|||||||
SELECT t1.afs_total_shop_money, t2.shop_price
|
SELECT t1.afs_total_shop_money, t2.shop_price
|
||||||
FROM afs_order t1
|
FROM afs_order t1
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
SELECT a.afs_order_id, SUM(c.shop_price) shop_price
|
SELECT a.afs_order_id, SUM(a.shop_price) shop_price
|
||||||
FROM order_sku_financial a
|
FROM order_sku_financial a
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
SELECT MAX(created_at), afs_order_id
|
SELECT MAX(created_at), afs_order_id
|
||||||
|
|||||||
Reference in New Issue
Block a user