1
This commit is contained in:
@@ -1952,7 +1952,7 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
||||
globals.SugarLogger.Debugf("---------skuBindInfos := %s", utils.Format4Output(skuBindInfos, false))
|
||||
}
|
||||
for _, skuBindInfo := range skuBindInfos {
|
||||
if skuBindInfo.StoreID == 668470 {
|
||||
if storeID == 668470 {
|
||||
globals.SugarLogger.Debugf("---------skuBindInfo := %s", utils.Format4Output(skuBindInfo, false))
|
||||
}
|
||||
// 关注且没有给价时,需要尝试从store_sku_bind中得到已有的单价
|
||||
@@ -2036,7 +2036,7 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
||||
}
|
||||
}
|
||||
unitPrice = int(math.Floor(float64(unitPrice)*scaleFactor/10+0.5)) * 10 //四舍五入 价格为100倍 角分为十位个位 除以10 + 0.5对分位向下取整(完成四舍五入的方法)
|
||||
if skuBindInfo.StoreID == 668470 {
|
||||
if storeID == 668470 {
|
||||
globals.SugarLogger.Debugf("-----------allBinds := %s", utils.Format4Output(allBinds, false))
|
||||
}
|
||||
for _, v := range allBinds {
|
||||
|
||||
Reference in New Issue
Block a user