diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 6848b520c..cc21f5a4c 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -434,6 +434,9 @@ func updateSingleOrderEarningPrice(order *model.GoodsOrder, db *dao.DaoDB) { for _, v := range order.Skus { if skuID := jxutils.GetSkuIDFromOrderSku(v); skuID > 0 { if actStoreSku := actStoreSkuMap.GetActStoreSku(jxStoreID, skuID, order.VendorID); actStoreSku != nil { + if skuID == 30611 { + fmt.Println("testGetActStoreSku", utils.Format4Output(actStoreSku, false)) + } v.EarningPrice = actStoreSku.EarningPrice if true { //v.StoreSubName != "" { // 之前这里为什么要加判断? v.StoreSubID = actStoreSku.ActID diff --git a/business/model/dao/act.go b/business/model/dao/act.go index 313e6eae2..3ed92ef4c 100644 --- a/business/model/dao/act.go +++ b/business/model/dao/act.go @@ -413,8 +413,6 @@ func GetEffectiveActStoreSkuInfo(db *DaoDB, actID int, vendorIDs []int, actType if globals.IsStoreSkuAct { sql += " AND t1.is_special = 0" } - fmt.Println(sql) - fmt.Println(sqlParams) err = GetRows(db, &actStoreSkuList, sql, sqlParams...) return actStoreSkuList, err }