fix bug in GetStoresMapList2

This commit is contained in:
gazebo
2020-01-06 09:30:10 +08:00
parent c47fc8e8e3
commit dd7d226b16

View File

@@ -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 {