From e8d7abe61b2c8ad116d227330f2de16d9f6a8f35 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Sat, 14 Aug 2021 15:09:11 +0800 Subject: [PATCH] aa --- business/model/dao/dao_order.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index 1bbdbd340..6186f38a8 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -823,7 +823,8 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat IF(t3.jx_sku_id > 0, t3.jx_sku_id, t3.sku_id) sku_id, t3.count sku_count2, t3.shop_price sku_shop_price, - IF(t3.store_sub_id = 0, 0, t3.earning_price) sku_earning_price, + --IF(t3.store_sub_id = 0, 0, t3.earning_price) + t3.earning_price sku_earning_price, t3.sale_price sku_sale_price, t3.sku_name` }