订单第二次取货失败尝试清除orderflag

This commit is contained in:
苏尹岚
2020-04-02 13:32:40 +08:00
parent ef7ab4cca2
commit a5c3a1c985
3 changed files with 15 additions and 5 deletions

View File

@@ -3216,13 +3216,10 @@ func AutoFocusStoreSkusForTopSkus(ctx *jxcontext.Context, isAsync, isContinueWhe
skuName []*model.SkuName
skuNameMap = make(map[int]int)
)
//物料店和绑定了银豹的店不自动关注畅销品
//物料店不自动关注畅销品
if v.ID == model.MatterStoreID {
return retVal, err
}
if storeDetail, err2 := dao.GetStoreDetail(db, v.ID, model.VendorIDYB); err2 != nil || storeDetail.VendorStoreID != "" {
return retVal, err
}
sql := `
SELECT DISTINCT a.name_id id
FROM sku a