门店价格

This commit is contained in:
suyl
2019-12-07 21:38:30 +08:00
parent d1b2b666f6
commit 02d19cce82

View File

@@ -489,7 +489,7 @@ func GetStorePriceScore(db *DaoDB, storeIDs []int, fromScore, toScore, sort int,
sqlParams = append(sqlParams, fromScore, toScore)
}
if len(storeIDs) > 0 {
sql += " AND c.store_id IN(" + GenQuestionMarks(len(storeIDs)) + ")"
sql += " AND a.store_id IN(" + GenQuestionMarks(len(storeIDs)) + ")"
sqlParams = append(sqlParams, storeIDs)
}
if !utils.IsTimeZero(snapDate) {