diff --git a/business/jxstore/cms/sku.go b/business/jxstore/cms/sku.go index c72db665b..e4cdc4346 100644 --- a/business/jxstore/cms/sku.go +++ b/business/jxstore/cms/sku.go @@ -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) }