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 }