From a3e83a8ec509101d898267b5b629800c498749e4 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 17 May 2024 19:21:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/db_order_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db/db_order_list.go b/app/db/db_order_list.go index 4df999c..e4a19a4 100644 --- a/app/db/db_order_list.go +++ b/app/db/db_order_list.go @@ -171,7 +171,7 @@ func GetOrderListOutput(eg *xorm.Engine, param map[string]string) *[]model.Order } sess.In("enterprise_id", oids) } - err := sess.OrderBy("id asc").Find(&order) + err := sess.OrderBy("id desc").Find(&order) if err != nil { return nil }