同步查询门店按老门店先吧

This commit is contained in:
苏尹岚
2020-07-17 08:36:28 +08:00
parent 26091c0895
commit 0bcbe77b13

View File

@@ -273,7 +273,7 @@ func GetStoresMapList2(db *DaoDB, vendorIDs, storeIDs, storeStatuss []int, statu
if mustDirty {
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 {
return storeMapList, nil
}