From 6cce9ad4c95a9cf7c1afc066fe71d8eac482f76f Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Tue, 28 Nov 2017 07:03:31 +0800 Subject: [PATCH] test --- src/main/resources/mapper/HistoryEntityMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/HistoryEntityMapper.xml b/src/main/resources/mapper/HistoryEntityMapper.xml index e5b64e7..3089c66 100644 --- a/src/main/resources/mapper/HistoryEntityMapper.xml +++ b/src/main/resources/mapper/HistoryEntityMapper.xml @@ -266,7 +266,7 @@ <if test="macKey != null and macKey != 'all'"> AND h.mac_key = #{macKey} GROUP BY e.id - ORDER BY avg + ORDER BY avg desc </if> <if test="macKey == 'all'"> GROUP BY h.mac_key -- Gitblit v1.8.0