1
This commit is contained in:
@@ -1180,7 +1180,6 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []str
|
||||
dao.Rollback(db, txDB)
|
||||
return nil, err
|
||||
}
|
||||
globals.SugarLogger.Debugf("-----tmpList := %s", utils.Format4Output(tmpList, false))
|
||||
if isBySku {
|
||||
skuNamesInfo.TotalCount = dao.GetLastTotalRowCount2(db, txDB)
|
||||
}
|
||||
@@ -2067,6 +2066,9 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
||||
if inSkuBind != nil && inSkuBind.Stock != nil {
|
||||
skuBind.Stock = *inSkuBind.Stock
|
||||
}
|
||||
if inSkuBind != nil && inSkuBind.LocationCode != "" {
|
||||
skuBind.LocationCode = inSkuBind.LocationCode
|
||||
}
|
||||
if globals.IsAddEvent {
|
||||
err = AddEventDetail(db, ctx, model.OperateAdd, v.RealSkuID, model.ThingTypeSku, storeID, "", utils.Int2Str(skuBind.UnitPrice))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user