This commit is contained in:
苏尹岚
2020-11-19 17:05:40 +08:00
parent fe6681b95d
commit ebec62c922
2 changed files with 3 additions and 3 deletions

View File

@@ -432,6 +432,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
if err != nil || len(skus) == 0 {
return err
}
if vendorID == model.VendorIDJDShop && storeID == model.JdShopMainStoreID2 {
globals.SugarLogger.Debugf("syncStoreSkuNew", utils.Format4Output(skus, false))
}
if len(excludeSkuIDs) > 0 {
excludeSkuMap := jxutils.IntList2Map(excludeSkuIDs)
var skus2 []*dao.StoreSkuSyncInfo

View File

@@ -1,7 +1,6 @@
package dao
import (
"fmt"
"sort"
"time"
@@ -153,8 +152,6 @@ func getStoreDetail(db *DaoDB, storeID, vendorID int, vendorStoreID, vendorOrgCo
if vendorID == model.VendorIDJDShop && vendorOrgCode == "" {
sql += " AND t2.vendor_org_code = 1"
}
fmt.Println(sql)
fmt.Println(sqlParams)
if err = GetRow(db, &storeDetail, sql, sqlParams...); err == nil {
storeDetail.PricePercentagePackObj = PricePercentagePack2Obj(storeDetail.PricePercentagePackStr)
storeDetail.FreightDeductionPackObj = FreightDeductionPack2Obj(storeDetail.FreightDeductionPackStr)