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