From dd7d226b16991cfe49d2031fa2bdcbd4933fd131 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 6 Jan 2020 09:30:10 +0800 Subject: [PATCH] fix bug in GetStoresMapList2 --- business/model/dao/store.go | 1 - 1 file changed, 1 deletion(-) diff --git a/business/model/dao/store.go b/business/model/dao/store.go index 84e39ad41..f3a3e62a5 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -244,7 +244,6 @@ func GetStoresMapList2(db *DaoDB, vendorIDs, storeIDs []int, status, isSync int, } if mustDirty { sql += " AND t1.sync_status <> 0" - sqlParams = append(sqlParams, pricePack) } sql += " ORDER BY t1.store_id DESC, t1.vendor_id" if err = GetRows(db, &storeMapList, sql, sqlParams...); err == nil {