UPDATEstoresskuswithoutsync方法给storedetail修改

This commit is contained in:
苏尹岚
2020-07-09 10:18:42 +08:00
parent e62811eef1
commit ae4deb9a04

View File

@@ -1034,9 +1034,8 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
for _, storeID := range storeIDs { for _, storeID := range storeIDs {
// todo 可以考虑在需要更新价格再获取 // todo 可以考虑在需要更新价格再获取
storeDetail, err := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDJX) storeDetail, err := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDJX)
if err != nil { if err != nil || storeDetail == nil {
dao.Rollback(db) continue
return nil, err
} }
scaleFactor := float64(1) scaleFactor := float64(1)
if isScale { if isScale {