This commit is contained in:
qidongsheng
2020-07-06 14:18:17 +08:00
parent a6f7fc06cb
commit ec4b41825f
2 changed files with 9 additions and 13 deletions

View File

@@ -2445,7 +2445,7 @@ func GetTopSkusByCityCode(ctx *jxcontext.Context, cityCode, storeID int) (skuNam
if cityCode > 0 {
skuNameAndPlace, err = dao.GetTopSkusByCityCode(db, cityCode, orderCreate)
} else {
skuNameAndPlace, err = dao.GetTopSkusByNoCityCode(db, cityCode, orderCreate)
skuNameAndPlace, err = dao.GetTopSkusByNoCityCode(db)
}
if storeID > 0 {
var skuNameList []*model.SkuName