This commit is contained in:
邹宗楠
2024-12-19 18:11:10 +08:00
parent ffa1ca1abb
commit 15ef9a9e67

View File

@@ -3557,7 +3557,7 @@ func GetSkuNamesNew(ctx *jxcontext.Context, keyword string, skuIDs, skuNameIDs [
sql += " AND t1.price >= ? "
sqlParams = append(sqlParams, minPrice)
}
if maxPrice >= 0 {
if maxPrice > 0 {
sql += " AND t1.price <= ? "
sqlParams = append(sqlParams, maxPrice)
}