From e01bf35d3d0256ed2e889e24d8ff9f541032551b Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 20 一月 2026 14:58:00 +0800
Subject: [PATCH] 大屏项目接口
---
ruoyi-system/src/main/resources/mapper/system/DeviceUsageMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/DeviceUsageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/DeviceUsageMapper.xml
index 05596bb..f887013 100644
--- a/ruoyi-system/src/main/resources/mapper/system/DeviceUsageMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/DeviceUsageMapper.xml
@@ -16,7 +16,7 @@
<result column="disabled" property="disabled" />
</resultMap>
<select id="getDeviceUsageList" resultType="java.lang.String">
- select t3.properties from device_usage t1
+ select t2.properties from device_usage t1
left join device t2 on t1.device_id = t2.id
where t1.project_id =#{id}
</select>
@@ -52,7 +52,7 @@
from device t1
left join device_usage t2
on t1.id = t2.device_id
- where t2.project_id = #{projectId} and t2.deleted = 0
+ where t2.project_id = #{id} and t2.deleted = 0
group by t1.type
</select>
--
Gitblit v1.7.1