diff --git a/ruoyi-system/src/main/resources/mapper/system/BaseSensorInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BaseSensorInfoMapper.xml
index 48a93ff..df4b738 100644
--- a/ruoyi-system/src/main/resources/mapper/system/BaseSensorInfoMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/BaseSensorInfoMapper.xml
@@ -89,8 +89,8 @@
from base_sensor_info t1
left join base_monitorunit_info t2 on t1.MonitorUnit_Id = t2.MonitorUnit_Id
- and t1.EdgeId = #{EdgeId}
- and t1.Sensor_Id = #{sensorId}
+ and t1.EdgeId like concat('%', #{EdgeId},'%')
+ and t1.Sensor_Id like concat('%', #{sensorId},'%')and t1.Sensor_Name like concat('%', #{sensorName},
'%')
@@ -126,8 +126,8 @@
left join base_monitorunit_info t3 on t2.MonitorUnit_Id = t3.MonitorUnit_Id
and t1.role_id = #{roleId}
- and t2.EdgeId = #{EdgeId}
- and t2.Sensor_Id = #{sensorId}
+ and t2.EdgeId like concat('%', #{EdgeId},'%')
+ and t2.Sensor_Id like concat('%', #{sensorId},'%')and t2.Sensor_Name like concat('%', #{sensorName},
'%')