From 323764c813a09cd56cdab780155ef659dbe0b364 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 11 八月 2026 15:08:03 +0800
Subject: [PATCH] update
---
ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml
index 0a36cfa..ae7f293 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml
@@ -73,12 +73,12 @@
<include refid="selectMachineVo" />
<where>
and m.del_flag = '0'
- <if test="query.areaId != null">
- and (m.area_id = #{query.areaId}
+ <if test="areaId != null">
+ and (m.area_id = #{areaId}
or m.area_id in (
select area_id from t_visit_area
where del_flag = '0'
- and find_in_set(#{query.areaId}, ancestors)
+ and find_in_set(#{areaId}, ancestors)
))
</if>
<if test="query.deviceName != null and query.deviceName != ''">
--
Gitblit v1.7.1