From 73a26e0d36f8a7fafdbecbd30d86e28802992bf2 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 20 Aug 2019 15:00:29 +0800 Subject: [PATCH] - GetStoresOrderSaleInfoNew --- business/jxcallback/orderman/orderman_ext.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 079b607d5..70b76b5de 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -775,9 +775,9 @@ func (c *OrderManager) GetOrdersFinancial(ctx *jxcontext.Context, fromDateStr, t } func (c *OrderManager) GetStoresOrderSaleInfo(ctx *jxcontext.Context, storeIDList []int, fromTime time.Time, toTime time.Time, statusList []int) (saleInfoList []*dao.StoresOrderSaleInfo, err error) { - if globals.IsProductEnv() { - return dao.GetStoresOrderSaleInfo(dao.GetDB(), storeIDList, fromTime, toTime, statusList) - } + // if globals.IsProductEnv() { + // return dao.GetStoresOrderSaleInfo(dao.GetDB(), storeIDList, fromTime, toTime, statusList) + // } return c.GetStoresOrderSaleInfoNew(ctx, storeIDList, fromTime, toTime, statusList) } @@ -871,7 +871,7 @@ func (c *OrderManager) GetStoresOrderSaleInfoNew(ctx *jxcontext.Context, storeID order.SalePrice += orderSku.SalePrice * int64(v.Count) order.EarningPrice += orderSku.EarningPrice * int64(v.Count) } else { - globals.SugarLogger.Debug(utils.Format4Output(v, true)) + // globals.SugarLogger.Debug(utils.Format4Output(v, true)) } } for universalOrderID, v := range afsOrderMap {