From 2b1b73abffb953468db22a10061e4a5135040037 Mon Sep 17 00:00:00 2001
From: kerwincui <164770707@qq.com>
Date: Sun, 12 Jun 2022 02:30:02 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../wumei-iot/src/main/resources/mapper/iot/DeviceMapper.xml | 2 +-
vue/src/views/iot/device/running-status.vue | 2 +-
vue/src/views/system/role/index.vue | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/springboot/wumei-iot/src/main/resources/mapper/iot/DeviceMapper.xml b/springboot/wumei-iot/src/main/resources/mapper/iot/DeviceMapper.xml
index 470c511c..34e296ec 100644
--- a/springboot/wumei-iot/src/main/resources/mapper/iot/DeviceMapper.xml
+++ b/springboot/wumei-iot/src/main/resources/mapper/iot/DeviceMapper.xml
@@ -216,7 +216,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and d.active_time between #{params.beginActiveTime} and #{params.endActiveTime}
group by d.device_id,d.user_id
- order by d.create_time desc
+ order by u.is_owner desc,d.create_time desc