From d4daacdf04233c0647eb4b87c8e71e55b39e5ebb Mon Sep 17 00:00:00 2001 From: zhaoxianglong Date: Thu, 30 May 2024 18:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/business/StatusMapper.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/zc-business/src/main/resources/mapper/business/StatusMapper.xml b/zc-business/src/main/resources/mapper/business/StatusMapper.xml index fec5456d..06fe274b 100644 --- a/zc-business/src/main/resources/mapper/business/StatusMapper.xml +++ b/zc-business/src/main/resources/mapper/business/StatusMapper.xml @@ -121,6 +121,9 @@ AND d.use_state = #{status.useState} + + ORDER BY ${status.orderByField} ${status.orderDirection} + @@ -185,6 +188,9 @@ AND d.use_state = #{status.useState} + + ORDER BY ${status.orderByField} ${status.orderDirection} + @@ -222,6 +228,9 @@ d.device_type, DAY (s.time) + + ORDER BY ${status.orderByField} ${status.orderDirection} + @@ -251,6 +260,9 @@ AND d.use_state = #{status.useState} + + ORDER BY ${status.orderByField} ${status.orderDirection} +