1
This commit is contained in:
@@ -2006,6 +2006,9 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
||||
for _, v := range inSkuBinds {
|
||||
inSkuBinsMap[v.SkuID] = v
|
||||
}
|
||||
if storeID == 668470 {
|
||||
globals.SugarLogger.Debugf("------------inSkuBinsMap := %s", utils.Format4Output(inSkuBinsMap, false))
|
||||
}
|
||||
unitPrice := 0
|
||||
if skuBindInfo.UnitPrice != 0 {
|
||||
if skuBindInfo.UnitPrice > MaxSkuUnitPrice {
|
||||
@@ -2046,9 +2049,6 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
||||
Status: model.StoreSkuBindStatusDontSale, // 缺省不可售?
|
||||
}
|
||||
skuBind.JxPrice = jxutils.CaculatePriceByPricePack(storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage), skuBind.Price)
|
||||
if storeID == 668470 {
|
||||
globals.SugarLogger.Debugf("---------------skuBind := %s", utils.Format4Output(skuBind, false))
|
||||
}
|
||||
tmpStatus := getSkuSaleStatus(inSkuBind, skuBindInfo)
|
||||
if storeID == 668470 {
|
||||
globals.SugarLogger.Debugf("---------------tmpStatus := %s", utils.Format4Output(tmpStatus, false))
|
||||
|
||||
Reference in New Issue
Block a user