From 0bcbe77b13a6cc5298766c3c32e1a21340fb2b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 17 Jul 2020 08:36:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=9F=A5=E8=AF=A2=E9=97=A8?= =?UTF-8?q?=E5=BA=97=E6=8C=89=E8=80=81=E9=97=A8=E5=BA=97=E5=85=88=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/store.go b/business/model/dao/store.go index ea87453c6..d394667df 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -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 }