同步查询门店按老门店先吧
This commit is contained in:
@@ -273,7 +273,7 @@ func GetStoresMapList2(db *DaoDB, vendorIDs, storeIDs, storeStatuss []int, statu
|
|||||||
if mustDirty {
|
if mustDirty {
|
||||||
sql += " AND t1.sync_status <> 0"
|
sql += " AND t1.sync_status <> 0"
|
||||||
}
|
}
|
||||||
sql += " ORDER BY t1.store_id DESC, t1.vendor_id"
|
sql += " ORDER BY t1.store_id , t1.vendor_id"
|
||||||
if err = GetRows(db, &storeMapList, sql, sqlParams...); err == nil {
|
if err = GetRows(db, &storeMapList, sql, sqlParams...); err == nil {
|
||||||
return storeMapList, nil
|
return storeMapList, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user