From 15ef9a9e675bfb4a0206b2169a9e6382417132f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 19 Dec 2024 18:11:10 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }