fix bug in GetStoresMapList2
This commit is contained in:
@@ -244,7 +244,6 @@ func GetStoresMapList2(db *DaoDB, vendorIDs, storeIDs []int, status, isSync int,
|
|||||||
}
|
}
|
||||||
if mustDirty {
|
if mustDirty {
|
||||||
sql += " AND t1.sync_status <> 0"
|
sql += " AND t1.sync_status <> 0"
|
||||||
sqlParams = append(sqlParams, pricePack)
|
|
||||||
}
|
}
|
||||||
sql += " ORDER BY t1.store_id DESC, t1.vendor_id"
|
sql += " ORDER BY t1.store_id DESC, t1.vendor_id"
|
||||||
if err = GetRows(db, &storeMapList, sql, sqlParams...); err == nil {
|
if err = GetRows(db, &storeMapList, sql, sqlParams...); err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user